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

MUSIC code not C++11 compliant #28

Closed
heplesser opened this issue Sep 12, 2016 · 2 comments
Closed

MUSIC code not C++11 compliant #28

heplesser opened this issue Sep 12, 2016 · 2 comments

Comments

@heplesser
Copy link

When compiling with g++ 6, compilation fails with

../../music/src/connectivity.cc: In member function 'MUSIC::ConnectivityInfo* MUSIC::Connectivity::info(std::__cxx11::string)':

../../music/src/connectivity.cc:110:14: error: invalid conversion from 'int' to 'MUSIC::ConnectivityInfo*' [-fpermissive]

       return NO_CONNECTIVITY;

This seems to be due to stricter typing rules in C++11. As a work-around, one can compile this file with -std=c++98, but I suppose this should be fixed properly.

See also #22, #24.

@mdjurfeldt
Copy link
Contributor

Try to do a git pull and see if the problem is resolved. Best regards, M.

@heplesser
Copy link
Author

@mdjurfeldt This solves the compilation problems, it seems. I get link problems, but will report those elsewhere.

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

No branches or pull requests

2 participants