mipsel memcpy & gcc3.4.6
Daniel Jacobowitz
drow at false.org
Mon Jan 7 08:45:58 PST 2008
On Mon, Jan 07, 2008 at 11:36:01AM -0500, Mike Frysinger wrote:
> On Monday 07 January 2008, Daniel Jacobowitz wrote:
> > On Mon, Jan 07, 2008 at 06:29:43PM +0300, Alexander Voropay wrote:
> > > It seems, GCC 3.4.6 preprocessor supports ## concatenations
> > > incorrectly. I've took ENTRY definition from the "sysdeps.h" of the
> > > ia64/sysdeps.h It works.
> >
> > name##: is incorrect. ## is supposed to be used between parts of a
> > single pp-token; ":" is a token all by itself.
>
> shouldnt gcc be uniformly barfing on this instead of sporadically ? should i
> open a gcc PR about gcc wrongly accepting name##: ?
The current versions of GCC do exactly what the standard say they ought
to:
gq.c:2:1: error: pasting "name" and ":" does not give a valid
preprocessing token
--
Daniel Jacobowitz
CodeSourcery
More information about the uClibc
mailing list