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

Compilation fails on gcc 6.1 due to headers included after safeguards in src/crashlog.cpp #6467

Closed
DorpsGek opened this issue May 22, 2016 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

JGR opened the ticket and wrote:

On Linux/Arch with gcc 6.1.1 compilation fails due to system headers in crashlog.cpp being included after an include of safeguards.h, resulting in SAFEGUARD_DO_NOT_USE_THIS_METHOD failures.

The attached patch moves the include section which causes the errors to before the include of safeguards.h.

This may also be an issue on other platforms which use gcc 6.

Attachments

Reported version: trunk
Operating system: Linux


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

frosch closed the ticket.

Reason for closing: Fixed

in r27573. Thanks for the patch!


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

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) 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