How do i get the strictest ansi-compilation on vs 6.0? It should be what
correspends as closely to gcc -wall -pedantic -ansi as possible, thx.

/Michael

Re: ansi c compilation by Rajiv

Rajiv
Thu Nov 20 02:02:44 CST 2003

Go to project setting > C++> Language
and disable Microsoft extensions

--
----------
Cheers,
Rajiv Das
-----------


"Michael Nielsen" <no@way.dk> wrote in message news:bphp12$1l2i$1@news.cybercity.dk...
| How do i get the strictest ansi-compilation on vs 6.0? It should be what
| correspends as closely to gcc -wall -pedantic -ansi as possible, thx.
|
| /Michael
|
|



Re: ansi c compilation by Phil

Phil
Thu Nov 20 10:40:42 CST 2003

Rajiv Das wrote:
> Go to project setting > C++> Language
> and disable Microsoft extensions

And set the warning level up to 4.

--
Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com


Re: ansi c compilation by John

John
Fri Nov 21 01:17:43 CST 2003

Rajiv Das wrote:

> Go to project setting > C++> Language
> and disable Microsoft extensions

But then you won't be able to include in MS headers, right?

--
John L. Fjellstad

A: Top posting!
Q: What is the most irritating thing on Usenet?

Re: ansi c compilation by Bo

Bo
Fri Nov 21 10:42:58 CST 2003


"John L Fjellstad" <john-news@fjellstad.org> skrev i meddelandet
news:om0jpb.lij.ln@192.168.1.1...
> Rajiv Das wrote:
>
> > Go to project setting > C++> Language
> > and disable Microsoft extensions
>
> But then you won't be able to include in MS headers, right?

Right!

Header files windows.h and compadres are pre-ANSI C.

Bo Persson


>
> --
> John L. Fjellstad
>
> A: Top posting!
> Q: What is the most irritating thing on Usenet?