Rockbox

Tasklist

FS#12261 - -fgnu89-inline breaks Cygwin build

Attached to Project: Rockbox
Opened by Steve Bavin (pondlife) - Tuesday, 06 September 2011, 16:35 GMT
Last edited by Andree Buschmann (Buschel) - Wednesday, 07 September 2011, 18:37 GMT
Task Type Bugs
Category Build environment
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

r30420 added -fgnu89-inline to the doom and mpegplayer makefiles, this isn't supported on Cygwin (gcc 3.4.4).

I'm not big on makefiles, so am not sure what a suitable test would be - i.e. how to detect gcc 3.x.
This task depends upon

Closed by  Andree Buschmann (Buschel)
Wednesday, 07 September 2011, 18:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  Submitted with r30467.
Comment by Andree Buschmann (Buschel) - Tuesday, 06 September 2011, 21:50 GMT
I reworked this a bit. "-fgnu89-inline" was introduced with GCC 4.1.3 (=GCCNUM 401). The attached only sets "-fgnu89-inline" if GCCNUM >= 401 is true. This compiles now for cygwin simulator (GCC 3.0.4), cygwin target (4.4.4), my Ubuntu mingw32 simulator (GCC 4.2.1) and Ubuntu target (GCC 4.4.4) w/o the "gnu89 inline" warnings.
Comment by Steve Bavin (pondlife) - Wednesday, 07 September 2011, 07:02 GMT
Yup, fixit if for me - thanks.
Comment by Steve Bavin (pondlife) - Wednesday, 07 September 2011, 07:41 GMT
Oops, mobile keyboard wrongness, hope you understood!

Loading...