Silence #line errors on Windows when testing
@@ -53,7 +53,11 @@ test:
- if not exist %LIBRARY_BIN%\cppast.dll exit 1 # [win]
- test -f $PREFIX/lib/libcppast.so # [linux]
- test -f $PREFIX/lib/libcppast.dylib # [osx]
- - cppast sample.h
+ - cppast sample.h # [unix]
+ # When parsing Microsoft's C++ headers, we need to enable some #line macros
+ # that clang gets confused by:
+ # https://github.com/foonathan/cppast/issues/46
+ - cppast --msvc_compatibility sample.h # [win]
about:
home: https://github.com/foonathan/cppast
