On Sun, 7 Mar 2004 21:09:24 -0800
Tom Jackson <[EMAIL PROTECTED]> wrote:

> Ah, yes the compiler warnings. Essentially the defines which set the
> data type are messed up. Small Int/Unsigned Int, something like that
> it seems. I think these are warnings which used to not show up in
> older versions of gcc?? But I couldn't figure out if the warnings were
> coming from unixodbc, or the ns module...

        [Grumble.] The culprit is the -Wconversion flag set in
$(NSHOME)/include/Makefile.global. Without it, all the warnings go away.
Short of killing this flag, I couldn't coerce gcc to be happy with any
amount of typecasting.

        I think this flag is either overly aggressive, or maybe buggy in
recent releases of gcc. Does anyone know whether it's really needed in
the AOLserver core, or is it just that it's always been done that way?

        I would suggest adding another environment variable, something like
CFLAGS_OVERRIDE, which Makefile.global would have placed *after*
CFLAGS_WARNING, so that a module writer could override things like this
(that's actually how I hacked it for this test). Anyone else got any
thoughts on the subject?


Cheers,
Bob


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to