This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Fixincludes - upstream
- To: gcc at gcc dot gnu dot org
- Subject: Fixincludes - upstream
- From: David Starner <dvdeug at x8b4e53cd dot dhcp dot okstate dot edu>
- Date: Tue, 18 Jan 2000 15:49:18 -0600
- Reply-To: dstarner98 at aasaa dot ofe dot org
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