This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.0 Release compile problem on Mandrake 8.0
- To: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Subject: Re: GCC 3.0 Release compile problem on Mandrake 8.0
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 20 Jun 2001 18:29:47 -0300
- Cc: mailus at tin dot it, gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200106200235.f5K2Zqb94093@latour.rsch.comm.mot.com>
On Jun 19, 2001, Loren James Rittle <rittle@latour.rsch.comm.mot.com> wrote:
> Please file an official GNATS report, if you haven't already.
No need to do that, we've got at least 2 of these already.
> sed '/^#/s/\([A-Z_][A-Z_]*\)/_GLIBCPP_\1/g' <$d/gthr.h-in >$d/gthr.h
> If I had to guess given the failure mode, I would swear that your
> sed(1) isn't treating upper case differently than lower case. Can you
> please confirm that to be true?
> Here is a simple test:
> echo a | sed 's/[A-Z_]/fail/'
Character ranges are not portable, since they're subject to
localization on some seds. Always spell out the whole range to avoid
this kind of problem. Sorry for not having noticed this portability
problem before the release. I really wish this change hadn't gone in
so close to the final :-(
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me