This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/31957] Build of compiler fails with 'error: #endif without #if'
- From: "joerg dot richter at pdv-fs dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2007 08:47:11 -0000
- Subject: [Bug libstdc++/31957] Build of compiler fails with 'error: #endif without #if'
- References: <bug-31957-5469@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from joerg dot richter at pdv-fs dot de 2007-05-30 08:47 -------
AIX/sed doesn't allow sed -e ''.
Can't currently attach patches. Here is it inline:
--- libstdc++-v3/include/Makefile.in.old 2007-05-30 10:03:19.000000000
+0200
+++ libstdc++-v3/include/Makefile.in 2007-05-30 10:06:03.000000000 +0200
@@ -1372,7 +1372,7 @@
@date=`cat ${toplevel_srcdir}/gcc/DATESTAMP` ;\
nsa_version=`cat stamp-namespace-version` ;\
visibility=`cat stamp-visibility` ;\
- ldbl_compat='' ;\
+ ldbl_compat='s,g,g,g' ;\
grep "^[ ]*#[ ]*define[ ][
]*_GLIBCXX_LONG_DOUBLE_COMPAT[ ][ ]*1[ ]*$$" \
${CONFIG_HEADER} > /dev/null 2>&1 \
&& ldbl_compat='s,^#undef _GLIBCXX_LONG_DOUBLE_COMPAT$$,#define
_GLIBCXX_LONG_DOUBLE_COMPAT 1,' ;\
--
joerg dot richter at pdv-fs dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|bootstrap |libstdc++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31957