Skip to content

Instantly share code, notes, and snippets.

@RogueYun
Created November 25, 2015 16:42
Show Gist options
  • Save RogueYun/3ba8b37f7ddb441adbbe to your computer and use it in GitHub Desktop.
Save RogueYun/3ba8b37f7ddb441adbbe to your computer and use it in GitHub Desktop.
Compile Log Errors for CDDA
||=== Build: Release in Cataclysm (compiler: GNU GCC Compiler) ===|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp||In member function 'long int item::get_remaining_capacity_for_liquid(const item&) const':|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4310|error: 'L_ERR_NONE' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp||In member function 'item::LIQUID_FILL_ERROR item::has_valid_capacity_for_liquid(const item&) const':|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4354|error: 'L_ERR_NOT_CONTAINER' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4358|error: 'L_ERR_FULL' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4362|error: 'L_ERR_NO_MIX' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4367|error: 'L_ERR_NOT_CONTAINER' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4372|error: 'L_ERR_NOT_WATERTIGHT' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4374|error: 'L_ERR_NOT_SEALED' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4378|error: 'L_ERR_NO_MIX' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4385|error: 'L_ERR_FULL' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4388|error: 'L_ERR_NONE' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp||In member function 'bool item::fill_with(item&, std::string&)':|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4436|error: 'L_ERR_NONE' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4438|error: 'L_ERR_NO_MIX' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4441|error: 'L_ERR_NOT_CONTAINER' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4444|error: 'L_ERR_NOT_WATERTIGHT' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4447|error: 'L_ERR_NOT_SEALED' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4450|error: 'L_ERR_FULL' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp||In member function 'item::LIQUID_FILL_ERROR item::has_valid_capacity_for_liquid(const item&) const':|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4389|warning: control reaches end of non-void function [-Wreturn-type]|
||=== Build failed: 16 error(s), 1 warning(s) (2 minute(s), 56 second(s)) ===|
@RogueYun
Copy link
Author

If someone could let me know how to fix this it would be much appreciated.

@DanmakuDan
Copy link

You probably need to download the Code:Blocks install with the 4.8.1 GCC version, there are C++11 features missing from the default install of 4.7.1. You could also download MSYS2 (with all the MinGW stuff) and point Code:Blocks to compile with it. I have MSYS2/MinGW GCC 5.2.0 set up like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment