Visual studio 2008 isn’t catching syntax errors. for example: Tpc_feed(void); compiles fine.
this: Tpc_feed(void);;;;;;; compiles fine, but this Tpc_feed(void) catches an error. Are the extra semi-colons not syntax errors? I’m on Windows 7 32 bit and VS C++ 2008
Visual studio 2008 isn’t catching syntax errors. for example: Tpc_feed(void); compiles fine. this: Tpc_feed(void);;;;;;;
Share
Technically, it’s a syntax error, but most compilers allow it anyway. GCC even allows it by default unless you compile with
-pedantic.In any case, it’s against the standard so you should get rid of the extras.