Maybe not really a bug ?

Frank Hunszinger hunszing@informatik.uni-tuebingen.de
Thu Jan 21 16:13:00 GMT 1999


Hi, maybe the following isn't a "real bug", because the code that lead to it
was not correct either: I didn't know what S_ISREG(...) expects as parameter,
so I tried to use the member "dev_t" of a "struct stat" which I got before 
(fstat). This caused the following error:

Server.c++: In function `int main(int, char **)':
Server.c++:112: warning: invalid use of type decl `typedef ulong_t dev_t' as expression
Server.c++:112: Internal compiler error 40.
Server.c++:112: Please submit a full bug report to `egcs-bugs@cygnus.com'.

After I used the right parameter, everything was fine...

Regards,
  Frank



More information about the Gcc-bugs mailing list