From: HTTBird on 13 Apr 2006 21:16 VC++ reports this pair of errors when Boost::Filesystem's exception.cpp is compiled: C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\sal.h(226) : error C2144: syntax error : 'int' should be preceded by ';' C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\sal.h(226) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Why in the world would VC refuse to compile one of its own header files?
From: Marcus Heege on 14 Apr 2006 00:28 Just a gut feeling: Have you missed a semicolon at the end of a class declaration in the header file that you have included *before* sal.h? Marcus "HTTBird" <HTTBird(a)discussions.microsoft.com> wrote in message news:995C5F35-BD29-424A-B7A1-8618FA1E338E(a)microsoft.com... > VC++ reports this pair of errors when Boost::Filesystem's exception.cpp is > compiled: > > C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\sal.h(226) : error > C2144: > syntax error : 'int' should be preceded by ';' > C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\sal.h(226) : error > C4430: > missing type specifier - int assumed. Note: C++ does not support > default-int > > > Why in the world would VC refuse to compile one of its own header files? >
|
Pages: 1 Prev: LPCTSTR vs const char* in Visual C++ 2005 Next: KB831875 |