This is my last email concerning the issue, because i am tired of it.
ANSI C++ code is code that compiles everywhere. ANSI C++ compliant
compiler is a compiler that compiles ANSI C++ code together with
whatever other system-specific extensions.
The -std=c++98 switch means that the C++98 standard is used as basis.
Naturally system extensions get compiled too.
-std=c++98 -pedantic-errors is STRICT ANSI C++ CODE, that is code that
compiles everywhere gets compiled only.
So, the Windows-specific header files should produce diagnostics under
STRICT ANSI C++ mode (probably with that STRICT_ANSI macro someone
mentioned or something else).
The compiler is not non-conforming considering ANSI C++. It is HIGHLY
COMPLIANT. The strict ansi c++ mode is broken though because it
generates no diagnostics for the windows header files.
That's all folks. If anyone understood what i say, it's ok. If not, well
i can't do anything more. I do not want to tire everyone, i had my point
heared, so i 'll stop posting on this issue.
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
Get latest updates about Open Source Projects, Conferences and News.