No, this IMHO is just sloppy programming. Maybe the definition of stderr was somehow pulled in indirectly in former times, which won't work nowadys as glibc headers were carefully changed to only pull in what they really need and not complete headers. True. The ISO C and C++ standards define what gets defined in the specific
On Monday 29 August 2005 11:57 am, Philipp Thomas wrote: header files (in this case stdio.h). In this particular case, the offending file is parser.y, which is a yacc (bison) file that generates parser.c. the yyerror() function exists by default, but it is generally recommended that the user supply their own. The yacc(1) manpage has an example with #include <stdio.h>. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9