Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upBuild Error - item_location.cpp - Linux #12899
Comments
This comment has been minimized.
This comment has been minimized.
|
If I wasn't already all about unit testing & modularization, these persistent build errors would be a good argument for it. (puts nose to grindstone) |
drbig
added
the
Code: Build
label
Jul 11, 2015
This comment has been minimized.
This comment has been minimized.
|
@phantom-voltage Remember to post your cdda version (commitish or Jenkins build number) and your |
This comment has been minimized.
This comment has been minimized.
|
@drbig |
This comment has been minimized.
This comment has been minimized.
|
@phantom-voltage aye. and I can tell you now: try gcc 4.8.x at the least. Also checkout https://github.com/CleverRaven/Cataclysm-DDA/blob/master/COMPILING.md |
This comment has been minimized.
This comment has been minimized.
This error does not happen with a current version of gcc, to catch errors like this you would need to compile every PR with every compiler and every version of it. |
This comment has been minimized.
This comment has been minimized.
|
Correct. This is why the automated Jenkins builds for PRs only use the most The other guard we have are the actual on-push builds, which do use a On Sun, Jul 12, 2015 at 12:25 PM BevapDin notifications@github.com wrote:
|
This comment has been minimized.
This comment has been minimized.
|
Fair enough - it was meant to be a general comment about automated testing, not a specific critique, but I am glad that it hasn't gone unconsidered. :) |
This comment has been minimized.
This comment has been minimized.
|
It's all good, I very much approve of automated testing -- anything you can do to make that easier is good. |
This comment has been minimized.
This comment has been minimized.
|
Thank you for the help everyone. I updated my compiler and everything worked fine. Thank you. |
phantom-voltage commentedJul 11, 2015
I have an error building the latest from github. Problem occurs in compiling item_location.cpp. Compiling on Debian 7 Wheezy. Compiled with release and no tiles. There seems to be no difference if compiling with the release flag and tiles=0 flag.
Compiler Version: g++ (Debian 4.7.2-5) 4.7.2
CDDA Build: VERSION "0.C-4396-g492cde8"
g++ -DLOCALIZE -ffast-math -Wall -Wextra -g -D_GLIBCXX_DEBUG --std=c++11 -MMD -I/usr/include/ncursesw -c src/item_location.cpp -o obj/item_location.o
src/item_location.cpp:45:22: error: looser throw specifier for ‘virtual item_location::item_on_map::~item_on_map()’
src/item_location.cpp:17:13: error: overriding ‘virtual item_location::impl::~impl() noexcept (true)’
src/item_location.cpp:168:22: error: looser throw specifier for ‘virtual item_location::item_on_vehicle::~item_on_vehicle()’
src/item_location.cpp:17:13: error: overriding ‘virtual item_location::impl::~impl() noexcept (true)’
make: *** [obj/item_location.o] Error 1