Frederic Bouvier wrote:
> I found where it is not C : you don't always declare local
> variables at the beginning of functions but you have the C++
> habit to declare them as you need them.

... which is a well-established feature of the (now 6-year-old!)
C99 standard.  It's not a "C++" thing.  And GCC stopped warning
about this (in C mode, under -Wall) several years ago.  You need
to engage -ansi and disable --std=c99 to see stuff like this.

Erik Hofman wrote:
> The same problem happened for MIPSpro.

Sigh.  I guess six years isn't enough for SGI and Microsoft.  Has
anyone had a chance to try the Sun compiler, which (I think) is
the only other one we use.

Andy

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to