Re:Herb Sutter confirms no more support for C beyond C90 in ...
by someone-else on Thursday May 03, 2012 @06:04PM
(#3926044)
It already supports C. They're just not updating the version, leaving it stuck in C89 mode.
Re:Herb Sutter confirms no more support for C beyond C90 in ...
by bunderbunder on Thursday May 03, 2012 @06:13PM
(#3926075)
Touche.
Perhaps I should have said "Supporting versions of C past the point where one could plausibly just pipe the C code through a C++ compiler."
Re:Herb Sutter confirms no more support for C beyond C90 in ...
by adgar on Thursday May 03, 2012 @06:47PM
(#3926183)
> Perhaps I should have said "Supporting versions of C past the point where one could plausibly just pipe the C code through a C++ compiler."
Like supporting for-loop variable declarations, which MSVC's C++ compilation mode (/TP) supports, but MSVC's C compilation mode (/TC) does not?
Oh - and what about declaring a variable anywhere other than the start of a scope? Allowed in C++, not in C. Cute.
For VC++ to add support for C as easily as many compiler collections do would require VC++ having a modular architecture like that of the other compiler collections. Considering VC++ only supports one language, that seems doubtful.