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

Broken Build (Code::Blocks 13.12) #12591

Closed
illi-kun opened this issue Jun 8, 2015 · 6 comments

Comments

Projects
None yet
4 participants
@illi-kun
Copy link
Member

commented Jun 8, 2015

Detailed log:

o obj\Release\src\item.o
\src\item.cpp: In member function 'long int item::get_remaining_capacity_for_liquid(const item&) const':
\src\item.cpp:4040:53: error: 'L_ERR_NONE' was not declared in this scope
\src\item.cpp: In member function 'item::LIQUID_FILL_ERROR item::has_valid_capacity_for_liquid(const item&) const':
\src\item.cpp:4084:20: error: 'L_ERR_NOT_CONTAINER' was not declared in this scope
\src\item.cpp:4088:20: error: 'L_ERR_FULL' was not declared in this scope
\src\item.cpp:4092:20: error: 'L_ERR_NO_MIX' was not declared in this scope
\src\item.cpp:4097:16: error: 'L_ERR_NOT_CONTAINER' was not declared in this scope
\src\item.cpp:4102:20: error: 'L_ERR_NOT_WATERTIGHT' was not declared in this scope
\src\item.cpp:4104:20: error: 'L_ERR_NOT_SEALED' was not declared in this scope
\src\item.cpp:4108:20: error: 'L_ERR_NO_MIX' was not declared in this scope
\src\item.cpp:4115:20: error: 'L_ERR_FULL' was not declared in this scope
\src\item.cpp:4118:12: error: 'L_ERR_NONE' was not declared in this scope
\src\item.cpp: In member function 'bool item::fill_with(item&, std::string&)':
\src\item.cpp:4166:14: error: 'L_ERR_NONE' was not declared in this scope
\src\item.cpp:4168:14: error: 'L_ERR_NO_MIX' was not declared in this scope
\src\item.cpp:4171:14: error: 'L_ERR_NOT_CONTAINER' was not declared in this scope
\src\item.cpp:4174:14: error: 'L_ERR_NOT_WATERTIGHT' was not declared in this scope
\src\item.cpp:4177:14: error: 'L_ERR_NOT_SEALED' was not declared in this scope
\src\item.cpp:4180:14: error: 'L_ERR_FULL' was not declared in this scope
\src\item.cpp: In member function 'item::LIQUID_FILL_ERROR item::has_valid_capacity_for_liquid(const item&) const':
\src\item.cpp:4119:1: warning: control reaches end of non-void function [-Wreturn-type]

Main suspects are the commits merged on Jun, 2...

@DavidKeaton

This comment has been minimized.

Copy link
Contributor

commented Jun 8, 2015

the last one is most worrying to me

@BevapDin

This comment has been minimized.

Copy link
Contributor

commented Jun 9, 2015

And your compiler (and version) is? Works fine for clang 3.6.0 and gcc 5.1.0

@illi-kun

This comment has been minimized.

Copy link
Member Author

commented Jun 9, 2015

Glad to see you here, BevapDin :)
I use gcc 4.7.x (at least I guess so...), and it looks like I need to update it...

@tvm1

This comment has been minimized.

Copy link
Contributor

commented Jun 9, 2015

Builds just fine with gcc 4.8.2

@BevapDin

This comment has been minimized.

Copy link
Contributor

commented Jun 9, 2015

If you really need to use the old compiler, you can move the enum back into the header by reverting 5525386.

@illi-kun

This comment has been minimized.

Copy link
Member Author

commented Jun 10, 2015

Thanks everyone for your support, the issue is resolved, so I'm closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.