FS#6279 - compile and linker warnings (gcc 4.9, arch linux)

Attached to Project: OpenTTD
Opened by Ingo von Borstel (planetmaker) - Thursday, 16 April 2015, 10:54 GMT
Type Bug
Category Core
Status Confirmed
Assigned To No-one
Operating System All
Severity Very Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No
This task depends upon

Comment by Charles Pigott (LordAro) - Friday, 18 August 2017, 22:36 GMT
CFLAGS='-O3 -march=native -freorder-blocks-and-partition -pipe' ./configure --with-ccache --with-freetype --with-liblzma --with-sdl --with-makedepend --enable-debug=0 --enable-lto

With gcc7, most of the compiler warnings have gone away with those configure options. Still quite a few linker warnings, however