Added by Dinu Ajikutira over 14 years ago
Hi All,
I created a new project (without CMAke) directly on Visual Studio and have specified all the project settings as in the extkitchen example file (including "compile as C" and "Not using precompiled headers"). When I compile I get the
error C2143: syntax error : missing ';' before 'namespace'
This is for any namespace declaration. For example if I include fstream, the error comes from the _STD_BEGIN which declares the std namespace. I am starting to suspect this has something to do with the stdafx.h file which I do not have in my project.
Any ideas? Any response is muc appreciated!
Thanks
-Dinu
Too embarassed to state what I did wrong!! I should get some sleep...