ICU4C, Microsoft Visual Studio does not accept C99

Description

We recently decided to move up to C 99 for ICU4C, but it turns out that Visual Studio does not have an actual C 99 mode. Some language extensions can be turned on, but they are not the same as C 99.

The upshot is that it is easy to write ICU C code on non-Windows platforms that won't compile on Windows.

The feature that bit me was variable declarations that are not at the top of a block.

I have no particular recommendations for what to do - maybe nothing.

Activity

Show:
TracBot
June 30, 2018, 11:29 PM
Trac Comment 2 by —2014-09-24T22:53:09.764Z

Roll

Assignee

Steven R. Loomis

Reporter

Andy Heninger

Components

Labels

Reviewer

None

Priority

assess

Time Needed

None

Fix versions

Configure