Skip to content
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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

todoooo
Copy link

@todoooo todoooo commented Oct 11, 2017

Changes needed to build Mummy with VS2017

@@ -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
Copy link
Member

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
Copy link
Member

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}");
}
Copy link
Member

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).

@dlrdave
Copy link
Contributor

dlrdave commented Nov 2, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants