This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12261 - -fgnu89-inline breaks Cygwin build
Attached to Project:
Rockbox
Opened by Steve Bavin (pondlife) - Tuesday, 06 September 2011, 18:35 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 07 September 2011, 20:37 GMT+2
Opened by Steve Bavin (pondlife) - Tuesday, 06 September 2011, 18:35 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 07 September 2011, 20:37 GMT+2
|
Detailsr30420 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, 20:37 GMT+2
Reason for closing: Fixed
Additional comments about closing: Submitted with r30467.
Wednesday, 07 September 2011, 20:37 GMT+2
Reason for closing: Fixed
Additional comments about closing: Submitted with r30467.
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.
Yup, fixit if for me - thanks.
Oops, mobile keyboard wrongness, hope you understood!