-
Notifications
You must be signed in to change notification settings - Fork 57
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
Ubuntu 17 g++ 7.2 Compatible #7
base: master
Are you sure you want to change the base?
Conversation
…ernel hint anyway
… Ubununtu 17 and g++ 7.2 it should also work on the previuos versions it was based on "*NIX compatibility by HippoBaro" pull request on the GridGraph repository, The modifications were to silence couple of warnnings that are treated as errors in couple of files and prefenting the project from compiling
Please squash your commits to discard the spurious additions/deletions to the patch. It seems the only modifications you made was to declare return variables for various function calls. Seems to me like a bad way to solve the problem. Your standard library might have flagged those functions with As for merging this, I think you'd be better off just committing on my branch since the changes are minor and fix something that should have been in my commits (sorry for that! 🙄) Anyway thanks for catching that, my GCC 7.3.1 on Fedora 27 didn't have that problem. |
Yeah, I just wanted to give (whoever wants to try this project) a version that compiles without having troupes to search and ask around about how to compile it, and I agree a better solution would have been to do a real check on the return value for errors and may be through an exception (by the way I am just doing a fake check to get it to compile). |
This modification was made because the project was not compiling with Ubununtu 17 and g++ 7.2
this version should be backward compatible (I have tried also on Ubuntu 14.04.5 LTS with g++ 5.4.1)
it was based on "*NIX compatibility by HippoBaro" pull request
on the GridGraph repository,
The modifications were to silence couple of warnings that are treated as errors in couple of files and preventing the project from compiling
to clone this pull request:
git clone https://github.com/thu-pacman/GridGraph.git
cd GridGraph
git fetch origin pull/7/head
git checkout -b pullrequest FETCH_HEAD
to compile
mkdir build
cd build
cmake ..
make