Thread (48 messages) flat view 48 messages, 8 authors, 2016-06-15

Re: Avoid declaration after statement

From: Sebastian Schuberth <hidden>
Date: 2016-06-15 22:47:26

From: Frank Li <redacted>

MSVC does not understand this C99 style

Signed-off-by: Frank Li <redacted>
Signed-off-by: Marius Storm-Olsen <redacted>
Indeed, even in recent Visual Studio versions the C compiler only
understands C90, not C99. Would it make sense to just force MSVC to
compile *.c files with the C++ compiler to fix this, rather than
patching files (which might be necessary for future files, too)? See
the "/TP" command line option to "CL".

--
Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help