public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: jma@netgem.com To: gcc-gnats@gcc.gnu.org Subject: libstdc++/3353: Problem while generating .h file... Date: Thu, 21 Jun 2001 19:16:00 -0000 [thread overview] Message-ID: <20010622020617.9688.qmail@sourceware.cygnus.com> (raw) >Number: 3353 >Category: libstdc++ >Synopsis: Problem while generating .h file... >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Jun 21 19:16:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: jma@netgem.com >Release: gcc 3.0 >Organization: >Environment: Linux Mandrake 8.0 Kernel 2.4.3 with gcc 2.96 from Mandrake... >Description: I had a problem while generating gthr.h file. In fact, there is a preprocessing file using sed which change every #something into #_GLIBCPP_something in this file. So, the sources which include this file cannot compile any more, as the preprocessor gets, for example: #__GLICPP_ifdef something .... So, I removed the sed preprocessing of this file and everything seems to be all right. I modified acinclude.m4 and aclocal.m4. I feel that it's not the real correct patch to apply, but I don't know what was the real goal of the preprocessing that was to be done... I use gcc 3.0 since it cames out. Seems really all right !!! Regards. Jocelyn Mayer. >How-To-Repeat: I compiled gcc 3.0 using: ../gcc-3.0/configure --prefix=/usr --host=i686-pc-linux-gnu --enable-shared >Fix: --- acinclude.m4-orig Fri Jun 22 03:51:59 2001 +++ acinclude.m4 Fri Jun 22 03:51:45 2001 @@ -1155,7 +1155,8 @@ fi AC_OUTPUT_COMMANDS([d=include/bits rm -f $d/gthr.h $d/gthr-single.h $d/gthr-default.h - sed '/^#/s/\([A-Z_][A-Z_]*\)/_GLIBCPP_\1/g' <$d/gthr.h-in >$d/gthr.h +# sed '/^#/s/\([A-Z_][A-Z_]*\)/_GLIBCPP_\1/g' <$d/gthr.h-in >$d/gthr.h + cp gthr.h-in $d/gthr.h sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-single.h-in \ | sed 's/\(GCC[A-Z_]*_H\)/_GLIBCPP_\1/g' >$d/gthr-single.h sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-default.h-in \ --- aclocal.m4-orig Fri Jun 22 03:53:27 2001 +++ aclocal.m4 Fri Jun 22 03:53:17 2001 @@ -1167,7 +1167,8 @@ fi AC_OUTPUT_COMMANDS([d=include/bits rm -f $d/gthr.h $d/gthr-single.h $d/gthr-default.h - sed '/^#/s/\([A-Z_][A-Z_]*\)/_GLIBCPP_\1/g' <$d/gthr.h-in >$d/gthr.h +# sed '/^#/s/\([A-Z_][A-Z_]*\)/_GLIBCPP_\1/g' <$d/gthr.h-in >$d/gthr.h + cp $d/gthr.h-in $d/gthr.h sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-single.h-in \ | sed 's/\(GCC[A-Z_]*_H\)/_GLIBCPP_\1/g' >$d/gthr-single.h sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-default.h-in \ >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-06-21 19:16 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-06-21 19:16 jma [this message] 2001-06-21 20:30 ljrittle
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20010622020617.9688.qmail@sourceware.cygnus.com \ --to=jma@netgem.com \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).