Menu

#45 backslashes in #include directives

open
nobody
None
1
2016-07-17
2016-07-17
No

./src/refimpl/E57FoundationImpl.cpp:# include <sys\stat.h>
./src/refimpl/E57FoundationImpl.cpp:# include <sys\stat.h>
./src/refimpl/E57Simple.cpp:# include <sys\stat.h>
./src/refimpl/E57Simple.cpp:# include <sys\stat.h>
./src/refimpl/E57SimpleImpl.cpp:# include <sys\stat.h>
./src/refimpl/E57SimpleImpl.cpp:# include <sys\stat.h></sys\stat.h></sys\stat.h></sys\stat.h></sys\stat.h></sys\stat.h></sys\stat.h>

these includes contain backslashes, which is not correct by standards and probably works only in MSVC, preprocesor should convert regular slashes into backslashes on windows

i am cross compiling using mingw and it does not work

Discussion


Log in to post a comment.

MongoDB Logo MongoDB