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

List:       kde-devel
Subject:    Re: #include_next warnings
From:       George Staikos <staikos () kde ! org>
Date:       2001-06-01 3:22:26
[Download RAW message or body]

On Thursday 31 May 2001 18:05, Dmitry Samoyloff wrote:
> Hello everybody!
> I always receive the following warnings during compilation of
> any KDE program:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include
> -I/usr/lib/qt2/include -I/usr/X11R6/include     -O2
> -fno-exceptions -fno-check-new -Wall -pedantic -W
> -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> -Wno-long-long -fno-builtin -O0 -g3 -Wall  -c somefile.cpp
> In file included from /usr/lib/qt2/include/qwindowdefs.h:48,
>                  from /usr/lib/qt2/include/qpaintdevice.h:42,
>                  from /usr/lib/qt2/include/qprinter.h:42,
>                  from somefile.cpp:19:
> /usr/include/limits.h:124:3: warning: ISO C does not allow
> #include_next
>
> I using KDE 2.1, gcc 2.96, (and KDevelop 1.3).
> Could anyone explain me how to fix this?

  That's part of glibc - /usr/include/limits.h - that's causing the problem.  
It's not really a problem at all anyways.

-- 

George Staikos

 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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