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

[BUG-fix] don't use fancy c++ with /Za option in MSVC #317

Merged
merged 4 commits into from
Jun 20, 2018

Conversation

agramfort
Copy link
Contributor

@agramfort agramfort commented Jun 20, 2018

[written by Sik]
This PR responds to The problem of using coarse compiler options as a wildcard when doing multiplatform software. Cutting corners to use alternative operators by changing the compiler options (with all its collateral effects) instead of adding the bearly minimum, means that all have been chasing ghosts for 2.5 weeks. It was much easier to just add the alternative macros to those 3 cpp files that need it.

Fix #312. Close #313.

@massich
Copy link
Contributor

massich commented Jun 20, 2018

up until this commit, we should have green travis and red appveyor

@massich
Copy link
Contributor

massich commented Jun 20, 2018

GREEN !!!

Ok This works, and I can also compile when -DENABLE_PYTHON=ON So this PR fixes #312

@massich massich changed the title don't use fancy c++ with /Za option that breaks win [BUG-fix] don't use fancy c++ with /Za option in MSVC Jun 20, 2018
@massich
Copy link
Contributor

massich commented Jun 20, 2018

We'll make a new tarball once this PR makes it to master.

@agramfort agramfort merged commit ad40007 into openmeeg:master Jun 20, 2018
@agramfort
Copy link
Contributor Author

thx @massich !

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.

2 participants