Re: compilation on solaris 8


Subject: Re: compilation on solaris 8
From: F J Franklin (F.J.Franklin@sheffield.ac.uk)
Date: Tue Jan 22 2002 - 10:22:01 CST


> ap_UnixApp.cpp:617: warning: passing `const char *' as argument 1 of
> `scandir(char *, direct ***, int (*)(direct *), int (*)(direct **,
> direct **))' discards qualifiers
> ap_UnixApp.cpp:617: passing `dirent ***' as argument 2 of `scandir(char
> *, direct ***, int (*)(direct *), int (*)(direct **, direct **))'

This happens on BSD as well. If you look in the code there is a line like

#if defined (__FreeBSD__) || defined (__OpenBSD__) etc.

and you'll need to add "|| defined (__SunOS__)", or whatever, to this
line.

Not sure about the alphasort, but if necessary you can probably replace
"alphasort" with "0".

Regards, Frank

Francis James Franklin
F.J.Franklin@shef.ac.uk

It's getting them wrong that is living, getting them wrong and wrong and
wrong and then, on careful reconsideration, getting them wrong again.
That's how we know we're alive: we're wrong.
                                                         --- Philip Roth

-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-request@abisource.com with the word
unsubscribe in the message body.



This archive was generated by hypermail 2b25 : Tue Jan 22 2002 - 10:22:03 CST