At 4:36 PM +0200 4/24/02, jean-frederic clere wrote:
>And it does not work on my machine (with gcc 3.0.3):
>+++
>$ Make
>Make[1]: Entering directory 
>`/export/home/apache20/apache/httpd-2.0/srclib/apr/atomic/solaris_sparc'
>gcc -E -D_ASM -D__STDC__=0 - < 
>/export/home/apache20/apache/httpd-2.0/srclib/apr/atomic/solaris_sparc/apr_atomic_sparc.s
> > apr_atomic_sparc.S
><command line>: warning: "__STDC__" redefined
><stdin>:21:10: warning: multi-line string literals are deprecated
>In file included from <stdin>:63:
>/usr/include/sys/asm_linkage.h:103:21: '#' is not followed by a macro parameter
>
>But gcc -Wa ... *.S does compile.

Ugg... There are no problems with 2.95.3... I'm guessing that
gcc3 requires some additional flags to be less anal... After all,
it's complaining about this line:

#define ENTRY(x) \
        .section        ".text"; \
        .align  4; \
        .global x; \
        .type   x, #function; \
x:      MCOUNT(x)

and the "#function"...
-- 
===========================================================================
   Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
             will lose both and deserve neither" - T.Jefferson

Reply via email to