I tried to compile under free Microsoft Windows 7 SDK (used NMake generator in cmake) and had an error:
F:\LIB\Build\luabind>nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
Scanning dependencies of target luabind
[ 1%] Building CXX object src/CMakeFiles/luabind.dir/class.cpp.obj
class.cpp
F:\LIB\Build\luabind\luabind/typeid.hpp(80) : error C2039: 'string' : is not a m
ember of 'std'
F:\LIB\Build\luabind\luabind/typeid.hpp(80) : error C2146: syntax error : missin
g ';' before identifier 'name'
F:\LIB\Build\luabind\luabind/typeid.hpp(80) : error C4430: missing type specifie
r - int assumed. Note: C++ does not support default-int
F:\LIB\Build\luabind\luabind/typeid.hpp(81) : error C4430: missing type specifie
r - int assumed. Note: C++ does not support default-int
F:\LIB\Build\luabind\luabind/typeid.hpp(92) : warning C4183: 'name': missing ret
urn type; assumed to be a member function returning 'int'
F:\LIB\Build\luabind\luabind/typeid.hpp(91) : error C2440: 'return' : cannot con
vert from 'const char *' to 'int'
There is no context in which this conversion is possible
Th error was gone after adding #include <string> to typeid.hpp (I do not know if it will compile on all other platformsbt hope it will). All tests pased successfully.
I tried to compile under free Microsoft Windows 7 SDK (used NMake generator in cmake) and had an error:
Th error was gone after adding
#include <string>
to typeid.hpp (I do not know if it will compile on all other platformsbt hope it will). All tests pased successfully.