[haiku-development] warning when compiling old application
- From: Brian Matzon <brian@xxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Sun, 30 Mar 2008 14:24:04 +0200
Hi
I was compiling an old application of mine, when I was hit with the
following - benign - warning:
Warning : In file included from
/boot/home/apps/develop/headers/posix/fcntl.h:6,
from
/boot/home/apps/develop/headers/be/storage/StorageDefs.h:17,
from /boot/home/apps/develop/headers/be/kernel/OS.h:16,
from /boot/home/apps/develop/headers/be/app/Message.h:18,
from
/boot/home/Desktop/BeLogin/BLApplication/../BLSettings/BLSettings.h:15,
from
/boot/home/Desktop/BeLogin/BLApplication/BLApplication.h:15,
from /boot/home/Desktop/BeLogin/BLApplication/BLApplication.cpp:11:
*`int stat(const char *, stat *)' hides constructor for `struct stat'
stat.h line 84 extern int stat(const char *path, struct stat *buf);
*is this a bug in stat.h?
fwiw, the application ran fine (even the old R5 compiled binary).
/matzon
Other related posts: