[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH] More portability fixes
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2009-09-24 18:07:34
Message-ID: 200909242007.34226.vda.linux () googlemail ! com
[Download RAW message or body]
On Thursday 24 September 2009 14:56, Tito wrote:
> On Wednesday 23 September 2009 22:56:34 Mikhail Gusarov wrote:
> >
> > Twas brillig at 10:02:35 23.09.2009 UTC+02 when farmatito@tiscali.it did gyre and gimble:
> >
> > T> c++ style // comments
> >
> > It's a C99-style // comments.
> >
>
> Hi,
> yes I know, but it issues a warning for example with -pedantic
> unless you specify -std=c99 on the commandline.
>
> #include <stdio.h>
> int main(int argc, char **argv)
> {
> int i = 99;
> printf("prova c%d", i);
> // pippo
> //pluto
> //paperino
> return 0;
>
>
> gcc -pedantic test.c -o test
> test.c:6:2: warning: C++ style comments are not allowed in ISO C90
> test.c:6:2: warning: (this will be reported only once per input file)
>
> It is really not a big problem, but i think that there is no need
> to mix the 2 standards.
There is. If you are more permissive, you attract more developers.
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic