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
enum class LinkType is defined in textfile_gui.cpp enum LinkType : byte is defined in league_type.h
This seems to generate warnings about violating the one definition rule on some platforms/build configurations when using LTO, e.g. linux generic release.
I've also noticed this when doing LTO with MinGW.
This doesn't appear to prevent successful builds.
Steps to reproduce
See above
The text was updated successfully, but these errors were encountered:
PeterN
added a commit
to PeterN/OpenTTD
that referenced
this issue
Nov 27, 2023
Version of OpenTTD
master
Expected result
No warnings
Actual result
enum class LinkType
is defined in textfile_gui.cppenum LinkType : byte
is defined in league_type.hThis seems to generate warnings about violating the one definition rule on some platforms/build configurations when using LTO, e.g. linux generic release.
I've also noticed this when doing LTO with MinGW.
This doesn't appear to prevent successful builds.
Steps to reproduce
See above
The text was updated successfully, but these errors were encountered: