gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] gcc 3.1, djgpp, -Wp,-lang-c89


From: Arend Bayer
Subject: Re: [gnugo-devel] gcc 3.1, djgpp, -Wp,-lang-c89
Date: Thu, 4 Jul 2002 09:30:59 +0200 (CEST)

On 15 Jun 2002, Dave Denholm wrote:

> Teun Burgers <address@hidden> writes:
>
> > gcc 3.1 works fine with djgpp, however only when
> > I omit -Wp,-lang-c89.
> >
> > The cpp 3.1 info says on this:
> >
> >      *Note:* Previous versions of cpp accepted a `-lang' option which
> >      selected both the language and the standards conformance level.
> >      This option has been removed, because it conflicts with the `-l'
> >      option.
> >
> > So -Wp,-lang-c89 seems to be obsolete.
> >
>
> IIRC, it was put in originally to make sure gcc rejected // comments.
> gcc accepts them by default, but they are obviously not portable.

I think we can use -Wp,-ansi or -Wp,std=c89 instead.

Arend




reply via email to

[Prev in Thread] Current Thread [Next in Thread]