This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


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

Re: Weird linking-problem


In article <vyzogv9affi.fsf@issan.informatik.uni-dortmund.de>,
	Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> writes:

> After preprocessing this expands to:
> 
>     struct stat statbuf; extern int (*__errno_location ()) ;
> 
> This is a no-no.  You cannot use the identifier errno any more in any
> declaration after you have included <errno.h>.

Doesn't make sense indeed. I did not expect a problem like that, since
it compiled flawless on a libc5 system using gcc-2.7.2.?.

-- TNX, Andreas

+-----------------------------------------------------------+
|Andreas Steffan              Email: deas@uni-hamburg.de    |
|Hamburg, Germany             Phone: 040/60671180           |
|                             Fax:   040/60679767           |
+-----------------------------------------------------------+
finger p25a003@server2.rrz.uni-hamburg.de for PGP-public-key.


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