[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#38178: -pedantic -W -Wall



Package: libc6-dev
Version: 2.1.1-7

Hi!

I compile my C++ code with -pedantic -W -Wall to find errors in 
it. But there are some warnings that come out of the libc headers.
One of them is the below. There are some others, I could give you
a list if you can forward/fix them :)

Greetings, Stephan

In file included from /home/coolo/prod/kdelibs/kdecore/kapp.cpp:52:
/usr/include/sys/stat.h:317: warning: declaration of `stat(const char *,
stat *)
' throws different exceptions
/usr/include/sys/stat.h:181: warning: previous declaration here
/usr/include/sys/stat.h: In function `int lstat(const char *, struct
stat *)':
/usr/include/sys/stat.h:324: warning: declaration of `lstat(const char
*, stat *
)' throws different exceptions
/usr/include/sys/stat.h:205: warning: previous declaration here
/usr/include/sys/stat.h: In function `int fstat(int, struct stat *)':
/usr/include/sys/stat.h:330: warning: declaration of `fstat(int, stat
*)' throws
 different exceptions
/usr/include/sys/stat.h:185: warning: previous declaration here
/usr/include/sys/stat.h: In function `int mknod(const char *, __mode_t,
__dev_t)
':
/usr/include/sys/stat.h:337: warning: declaration of `mknod(const char
*, __mode
_t, __dev_t)' throws different exceptions
/usr/include/sys/stat.h:248: warning: previous declaration
here                       

-- 
Und sie nannten ihn, wie er selbst unterschrieb -
Den Trojanischen Pferdedieb


Reply to: