[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: patch to acinclude.m4.in
From:       George Staikos <staikos () kde ! org>
Date:       2001-03-09 19:46:04
[Download RAW message or body]

On Friday 09 March 2001 14:36, Stephan Kulow wrote:
> George Staikos wrote:
> > Are there any objections to me commiting my copy of acinclude.m4.in which
> > adds -D_POSIX_C_SOURCE wherever _XOPEN_SOURCE and _BSD_SOURCE were
> > defined? I'm getting loads of compiler warnings ever since these were
> > added and this fixes most of them.
>
> Hmm, for example?

In file included from /usr/include/string.h:26,
                     from /usr/lib/qt-2.2.4/include/qcstring.h:46,
                   [.......]
                     from kprotocolmanager.cpp:18:
/usr/include/features.h:175:30: warning: "_POSIX_C_SOURCE" is not defined
[..... ad nauseum]

   Now IIRC, these _x_SOURCE defines are not supposed to be touched by us.  
Perhaps I'm wrong...  In any case if we're going to change one, shouldn't we 
change them all?


The other one is 
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h:57:34: warning: 
"__STDC_VERSION__" is not defined

I don't want to touch this one yet.

-- 

George Staikos

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic