This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Maybe not really a bug ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]