-
Notifications
You must be signed in to change notification settings - Fork 27
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
mac compilation problem tr1 #7
Comments
I've changed mindthegap to use USE_NEW_CXX instead of dont_use_tr1. could you try to compile it now? (update mindthegap and gatb-core). I'd like to deprecate dont_use_tr1 because use_new_cxx already exists |
looks like the CI could compile it just now |
are you sure you pushed to mindthegap? i dont see any new commit. (right now mindthegap CI works because I temporarily added dont_use_tr1 variable to the cmakelist of mindthegap) |
yeah, here : https://github.com/GATB/MindTheGap/commits/master |
oh, this does not appear in the gforge repo, did you commit to the wrong repo :) ? |
oh yes, I did :) fixed. |
thx, ok to switch to use_new_cxx. It seems I have to add the -DUSE_NEW_CXX in the gatb-core cmakelist. |
Hi guys ! MindTheGap CI does not compile on mac. |
I made mindthegap point to the current master version of gatb-core (and committed it), it did not fix the problem with tr1. |
I pushed a new patch in gatb-core and again made mtg point to it, CI works now. |
hmm, or not :) it compiles and passes all test, but another error comes (Invalid escape sequence .), dont know what that is. |
thanks ! I know what it is, I am fixing it ! |
I had added -DUSE_NEW_CXX to MindTheGap CMakefile's. It's odd that you needed to have it defined in gatb-core's CMakefile also, isn't it? Because gatb-core doesn't have any #ifdef USE_NEW_CXX. I think our politics are to only link to a released version of gatb-core. But since it's a minor modification here , we could pragmatically point to the appropriate commit that we want, until we release a gatb-core update. |
compilation of MindTheGap with clang v7.3.0 does not work since commit a4438e3 (19 mai), probably because of this code removed
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.3)
set (dont_use_tr1 0)
else()
set (dont_use_tr1 1)
Should we patch gatb-core v1.2.0 for this ?
The text was updated successfully, but these errors were encountered: