Actually it does set C++ by default - look under Properties C/C++ Advanced - you have "Compile As" VC 2008 and 2010 set this to Yes by default.
Jan -----Original Message----- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Teg Sent: 8. mai 2011 23:48 To: General Discussion of SQLite Database Subject: Re: [sqlite] Compile error's on Visual Studio 2010 Hello Jay, I haven't found this to be the case. I have numerous C only library's I compile and I don't have to change the defaults to compile them. There is an option to force C++ compiles but, I don't believe it's on by default. JAK> In most default setups, Visual Studio insists on compiling .c files JAK> with the C++ compiler, even though-- as this very example points JAK> out-- the languages are different enough that this behavior seems JAK> questionable. -- Best regards, Teg mailto:t...@djii.com _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users