From: HTTBird on
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
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?
>