Re: Visual C++ support of C99 by using "C++ mode" (/TP)



<albert.neu@xxxxxxxxx> wrote in message
news:1175339584.547700.293280@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

To what extent does
Microsoft Visual C++
also called: VC++
also called: Microsoft (R) 32-bit C/C++ Optimizing Compiler

support C99?



VC++ compiles either in C mode (which is def. *not* C99!):
cl.exe /TC c_file.c

or in C++ mode
cl.exe /TP cpp_file.cpp

In C mode (/TC), VC++ is definately *not* conform to C99!




But an interesing question is:
How conform is VC++ to C99, when used in C++ mode (/TP)??

This is particularly interesting, when considering that
the C99 library is part of C++ TR1.
http://groups.google.at/group/comp.lang.c/browse_thread/thread/a6d0e5ddb976ecb1/95879cd6fca0acc8?hl=en#95879cd6fca0acc8

To what extent does the latest VC++ (in C++ mode /TP) support C++ TR1?

Not at all.

To what extent does the latest VC++ (in C++ mode /TP) use Dinkumware
libraries?

We supply the Standard C++ library only, and have done so for over a
decade. But it is our earnest desire to license everything we have
to Microsoft, sooner or later. Note that the next revision of Standard
C++ will include all of the C99 library, as well as most of the rest
of TR1. To the extent that this creates demand from the public,
Microsoft might be interested in adding these features.

P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com



.



Relevant Pages

  • Visual C++ support of C99 by using "C++ mode" (/TP)
    ... the C99 library is part of C++ TR1. ... Microsoft VC++ compiler can be obtained for free: ... "Microsoft Windows SDK for Windows Vista" ...
    (comp.lang.c)
  • C99 library part of C++ TR1
    ... The C99 library is part of C++ TR1. ... since it means that if C++ compilers adapt to ... A standard, especially a new one is very different from the "de facto" ...
    (comp.lang.c)
  • Re: visual C++ 6
    ... Studio conforms to C90, but not to either C95 or C99, ... So are you saying that Microsoft is consistently 13 years behind ...
    (comp.lang.c)
  • Re: Next ISO C standard - any features being removed?
    ... Microsoft does not implement any part of C99. ... no fix for the printf() issue, ... VLAs are a formalization of a trick that was widely used (e.g. in ...
    (comp.std.c)
  • Re: new order doubt
    ... the "any order" rule exists in C90 as well as in C99. ... This "new to c" person appears to be a troll. ... Even Microsoft has problems with this obscure rules. ... Microsoft has a bug. ...
    (comp.lang.c)