Bug #29691 Falcon: -Wno-invalid-offsetof is not recognized on all versions of gcc

Submitted: 10 Jul 2007 15:23 Modified: 14 Jul 2007 21:45
Reporter: Hakan Küçükyılmaz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version: OS:Any (gcc)
Assigned to: Christoffer Hall CPU Architecture:Any
Tags: -Wno-invalid-offsetof, falcon

[10 Jul 2007 15:23] Hakan Küçükyılmaz
Description:
Compiling latest Falcon on SLES 9 leads to compile error:

cc1plus: error: unrecognized option `-Wno-invalid-offsetof'

How to repeat:
Compile latest Falcon on SLES 9 or a system with gcc < 3.3

Suggested fix:
Make the -Wno-invalid-offsetof flag conditional
[11 Jul 2007 10:25] Christoffer Hall
Does the "invalid use of offsetof" show up with gcc < 3.3 ?
[13 Jul 2007 9:15] Christoffer Hall
A fix to the build system should fix this. It is pushed to the falcon tree.
[13 Jul 2007 9:31] Christoffer Hall
Too quick on the trigger. Should not have closed it. Put into state documenting.
[14 Jul 2007 21:45] Paul DuBois
No changelog entry needed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.