I have no idea if just replying to this works, with all those CC's, but I
hope for the best.

On Tue, Sep 17, 2002 at 06:22:20PM -0000, [EMAIL PROTECTED] wrote:
> Synopsis: cpp0 -std=gnu99 rejects # comments
> 
> State-Changed-From-To: open->closed
> State-Changed-By: neil
> State-Changed-When: Tue Sep 17 11:22:20 2002
> State-Changed-Why:
>     Not a bug: -std=gnu99 overrides -lang-asm as it comes later;
>     it contains an implicit -lang-c.
>     
>     You might get away with reversing the order (if you can actually achieve that - 
>you may not be able to), but we won't
>     guarantee that this will always work.
>     
>     After all, there are no "standards" with assembler.

That is my fault for not being precise enough in my bug report, sorry.

The problem is that gcc calls the preprocessor with this ordering when
compiling an assembler file (foo.S) with the -std=gnu99 option.

Try "echo \# foo > foo.S" and "gcc -std=gnu99 -o foo foo.S", this triggers
the bug.  -v shows that gcc passes -std=gnu99 to cpp when preprocessing the
file.

Thanks,
Marcus


-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    [EMAIL PROTECTED]
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de/


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to