This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17632] New: Non-portable whitespace in libstdc++ headers
- From: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Sep 2004 12:00:14 -0000
- Subject: [Bug libstdc++/17632] New: Non-portable whitespace in libstdc++ headers
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
non-portable whitespace (lines starting with " #" instead of "# ").
Of course this is accepted by the gcc preprocessor (as a GNU extension),
but other programs (e.g. X11's mkdepend) complain and thus produce
unnecessary noise.
Since it is really easy to repair that, please do so.
Environment:
System: Linux pcl321 2.4.25 #2 SMP Thu Apr 1 13:55:52 CEST 2004 i686 unknown unknown GNU/Linux
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-3.4.2/configure --host=ix86-linux-gnulibc2 --prefix=/usr --disable-nls --enable-shared --enable-languages=c++,f77,objc --enable-version-specific-runtime-libs --with-gxx-include-dir=/include/c++/3.4.2 --bindir=/ix86-linux-gnulibc2/bin
How-To-Repeat:
E.g. run mkdepend with one of the headers included.
------- Additional Comments From peb at mppmu dot mpg dot de 2004-09-23 12:00 -------
Fix:
Apply the attached patch.
regards
Peter Breitenlohner <peb@mppmu.mpg.de>
--
Summary: Non-portable whitespace in libstdc++ headers
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peb at mppmu dot mpg dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17632