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

List:       kde-core-devel
Subject:    Re: patch to acinclude.m4.in
From:       Harri Porten <harri () trolltech ! com>
Date:       2001-03-09 19:52:57
[Download RAW message or body]

George Staikos wrote:
> 
> 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]

Funny that you mention qcstring.h: we have just been talking about those
<string.h> and <strings.h> #include that are causing so much trouble.
They probably should never have been there in the first place but now
it's hard to remove them. Source compatibility reasons ...

Harri.

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

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