[haiku-development] Re: warning when compiling old application

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 03 Apr 2008 17:14:55 +0200 CEST

Brian Matzon <brian@xxxxxxxxx> wrote:
> 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?

As it doesn't give any problem over here, I would doubt that. It seems 
to be problematic that struct stat and stat() both exist in the same 
file. I have no idea why this is, and without seeing any code to 
reproduce the problem, I can't really help (or anybody else, it seems).

Bye,
   Axel.


Other related posts: