You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. try to compile from source version 0.2.1
What is the expected output? What do you see instead?
it does not compile...
What version of the product are you using? On what operating system?
with g++ (GCC) 4.3.0 on Linux
Please provide any additional information below.
this version of gcc issues a warning for constructs like
a<b || c<d && a==b
the default compilation flags include -Werror, so the compile fails.
The error is always:
"suggest parentheses around && within ||"
Changing to
a<b || (c<d && a==b)
or something similar solves the issue
here are the points where this happens (file:line_number)
tile_logic.hpp:87
battle.cpp:391
battle.cpp:400
camera_controller.cpp:15
camera_controller.cpp:19
camera_controller.cpp:23
camera_controller.cpp:27
gamemap.cpp:374
keyboard.cpp:28
keyboard.cpp:30
keyboard.cpp:32
keyboard.cpp:34
tile_logic.cpp:248
tile_logic.cpp:249
editorglwidget.cpp:491
I do not provide a patch since I cannot say what logic should be used.
Original issue reported on code.google.com by [email protected] on 24 Apr 2008 at 2:33
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 24 Apr 2008 at 2:33The text was updated successfully, but these errors were encountered: