-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add support for castxml and MSVC #1
base: master
Are you sure you want to change the base?
Conversation
@@ -29,7 +29,7 @@ | |||
#endif | |||
|
|||
// Visual C++ for-loop scoping hack. | |||
#ifdef _MSC_VER | |||
#if defined(_MSC_VER) && _MSC_VER < 1700 | |||
#ifndef for | |||
#define for if(false) {} else for | |||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was back from the VS 6 days (_MSC_VER < 1300
). We can drop the whole block.
@@ -36,7 +36,7 @@ | |||
|
|||
// Visual C++ for-loop scoping hack. We can use this inside the CABLE | |||
// application without interfering with user code. | |||
#ifdef _MSC_VER | |||
#if defined(_MSC_VER) && _MSC_VER < 1700 | |||
#ifndef for | |||
#define for if(false) {} else for | |||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was back from the VS 6 days (_MSC_VER < 1300
). We can drop the whole block.
else if (Converter::SafeDownCast(named)) | ||
{ | ||
named->SetName("{operator}"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please match the existing indentation scheme (2 spaces instead of a TAB).
I have been trying to get to reviewing this... I have a build of https://github.com/CastXML/CastXMLSuperbuild going on my Mac right now, and will get a Windows one going too. I need that to succeed first or to install a pre-built binary of castxml before I can get this one verified on Windows. I'll keep plugging away at it in my spare time, but it might still take me a couple more weeks before I can effectively review things here. |
Changes needed to build Mummy with VS2017