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
Current OpenTTD build system always adds "-Wno-narrowing" flag for GCC >= 4.0.7 and there is no way to simply override it (see #6433). IMO these warnings are really useful and it would be good to have them. All that has to be done is to remove this line from config.lib:
cxxflags="$cxxflags -Wno-narrowing"
In current OpenTTD code, there are no implicit "narrowings", at least GCC 5.4.0 compiles the code without any warnings when -Wnarrowing flag is present.
adf88 opened the ticket and wrote:
Reported version: Version?
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/6532
The text was updated successfully, but these errors were encountered: