On Monday 29 August 2005 11:57 am, Philipp Thomas wrote:
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.
It is possible (see my previous post) that they assumed that the yacc skeleton would pull in #include <stdio.h>. But on Linux, we use bison(1) which has a different skeleton.
(I fully agree that this is sloppy programming).