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

GCC 6 is identified as version < 3.3 #6487

Closed
DorpsGek opened this issue Jul 16, 2016 · 5 comments
Closed

GCC 6 is identified as version < 3.3 #6487

DorpsGek opened this issue Jul 16, 2016 · 5 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Mailaender opened the ticket and wrote:

which results in

configure: error: gcc older than 3.3 can't compile OpenTTD because of its poor template support

https://build.opensuse.org/request/show/409032

Reported version: 1.6.1-RC1
Operating system: Linux


This issue was imported from FlySpray: https://bugs.openttd.org/task/6487
@DorpsGek
Copy link
Member Author

frosch wrote:

It compiles fine with gcc6 in other distributions.

What does
gcc -dumpversion
output on openSUSE_Tumbleweed?


This comment was imported from FlySpray: https://bugs.openttd.org/task/6487#comment14241

@DorpsGek
Copy link
Member Author

Mailaender wrote:

6


This comment was imported from FlySpray: https://bugs.openttd.org/task/6487#comment14242

@DorpsGek
Copy link
Member Author

frosch wrote:

OpenSuse does something which noone else does:
https://lists.opensuse.org/opensuse-bugs/2015-08/msg01133.html

The openttd-gcc5.patch you removed, addressed just that btw :p

Anyway, I changed the version detection to be more rebust.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6487#comment14243

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Fixed

in r27616


This comment was imported from FlySpray: https://bugs.openttd.org/task/6487

@DorpsGek
Copy link
Member Author

Mailaender wrote:

Thanks! I can confirm it solves the problem: https://build.opensuse.org/request/show/411447

Sorry for bothering you with weird SUSE hacks.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6487#comment14244

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Build system labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant