-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to generate xml with Boost on Windows and MSVC #36
Comments
I think the problem is that CastXML is a Clang parser but is simulating MSVC's preprocessor, so Boost's preprocessor library is using MSVC-specific code instead of its implementation for Clang. In the past with gccxml this worked because the Boost headers gained explicit knowledge of gccxml here. Something similar may be needed for CastXML, but currently CastXML does not define any macro to identify itself. |
Commit d2ef49b adds predefined macros that identify both CastXML and the internal Clang version against which it was built. This provides enough information for the Boost preprocessor library to adapt (via Actually modifying Boost with this information is beyond the scope of CastXML development. |
@bradking thank you! |
Hi, I'm currently facing these issues. Boost doesn't have CastXML support. Is there any workaround that I could use? I use: Window 10, Boost 1.70, msvc2022, CastXML 0.4.3 |
Hi, everyone!
I'm trying to generate Python wrappings via WrapITK for my C++ project. The project also uses Boost libraries. I'm getting the following errors while generating xml for sources that include Boost headers:
I use Windows 7/8.1 x64 and MS VisualStudio 2013. Boost 1.56
CastXML Version:
(Prebuilt windows binary from here)
The text was updated successfully, but these errors were encountered: