This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Steering Committee decision on ISO C conversion
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: obrien at NUXI dot com, aldyh at redhat dot com, gcc at gcc dot gnu dot org, jsm28 at cam dot ac dot uk, shebs at apple dot com, Richard dot Earnshaw at arm dot com
- Date: Fri, 28 Jun 2002 17:35:27 +0100
- Subject: Re: GCC Steering Committee decision on ISO C conversion
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
ghazi@caip.rutgers.edu said:
> And I'll let you in on a little secret. I believe the HP's
> traditional compiler *understands* string concatenation!
> Why do I say this? Because libiberty/regex.c uses it an no one has
> complained. Maybe someone can confirm this...
Actually, regex.c has:
# if defined (__STDC__) || defined (ALMOST_STDC) || defined
(HAVE_STRINGIZE)
# define PREFIX(name) wcs_##name
# define ARG_PREFIX(name) c##name
# else
# define PREFIX(name) wcs_/**/name
# define ARG_PREFIX(name) c/**/name
# endif
So traditional compilers can use the traditional pasting method.
That doesn't necessarily mean that the old HPUX C compiler doesn't support
string pasting, just that you can't use this code as an assertion that it
does.
R.