This is the mail archive of the gcc@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]

Fixincludes - upstream


How about fixing some of this stuff upstream? It is a bug
to have this stuff in the headers, and any of the free Unix's
(Hurd, Linux, *BSD) should fix it in their sources without 
complaint. Then just (a) warn or (b) do nothing on those systems. 

One bug in fixincludes I've noticed on my system (in curses.h)

#if (!defined(__cplusplus) || !1) && (!0)
#undef bool
#ifndef __cplusplus -- Added by fixincludes
typedef unsigned char bool;
#endif -- Added
#endif

This is the only reason for messing with the file.
-- 
David Starner - dstarner98@aasaa.ofe.org
If you wish to strive for peace of soul then believe; 
if you wish to be a devotee of truth, then inquire.
   -- Friedrich Nietzsche

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