mipsel memcpy & gcc3.4.6

Alexander Voropay alec at sensi.org
Mon Jan 7 17:35:06 UTC 2008


> what are you defining as "current" ?  the current release (4.2.2) certainly
> accepts it as does a large majority of compiler versions (going by the fact
> that this is the first such bug report after using this code for quite a
> while):

As you told, GCC 3.4.6 accepts  name##:  w/o  -std=gnu99


$ cat test.S
#define foo(name) name##:
foo(f)

$ mipsel-linux-uclibc-gcc -c test.S

$
$mipsel-linux-uclibc-gcc -c -std=gnu99 test.S
test.S:3:1: pasting "f" and ":" does not give a valid preprocessing token

$
$mipsel-linux-uclibc-gcc --version
mipsel-linux-uclibc-gcc (GCC) 3.4.6



More information about the uClibc mailing list