This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug libstdc++/31957] Build of compiler fails with 'error: #endif without #if'



------- 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


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