
"Bertrand Augereau" <bertrand@eugensystems.com> wrote
Argh... The following snippet doesn't compile on MSVC8.0 if stdafx.h (the precompiled header) includes "boost\typeof\typeof.hpp", and works if not... (The project is otherwise a default-settings console app)
#include "stdafx.h" #include "boost\typeof\typeof.hpp"
#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
class Class {};
BOOST_TYPEOF_REGISTER_TYPE(Class)
int _tmain(int argc, _TCHAR* argv[]) { return 0; }
and it dumps these (quite meaningless) errors: error C2143: syntax error : missing ';' before '<' error C2059: syntax error : '<' error C2065: 'V' : undeclared identifier error C2143: syntax error : missing ';' before '{' error C2447: '{' : missing function header (old-style formal list?) error C2143: syntax error : missing ';' before '<' error C2059: syntax error : '<' error C2143: syntax error : missing ';' before '{' error C2447: '{' : missing function header (old-style formal list?)
Maybe you can save me, once again, Arkadiy? :)
This looks like something is undefined... Unfortunately, the vc8 beta period is over, and all of a sudden I no longer have an access too this compiler :( I'll see what I can do to get it... Meanwhile, is there anybody with the access to vc8 who is willing to help? Thanks in advance, Arkadiy