Bug 422741 - Linux Build : Compilation Flag : -Wno-array-bounds no supported by gcc 3.4.6 and 4.1.2
Summary: Linux Build : Compilation Flag : -Wno-array-bounds no supported by gcc 3.4.6 ...
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: 1.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.2   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-28 04:07 EST by Damien Merlin CLA
Modified: 2014-02-25 05:50 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damien Merlin CLA 2013-11-28 04:07:45 EST
Since commit : d68585ef154da0d854d29bb20239bbd6dd5c6408
And add of line : OPTS += -Wno-array-bounds
The agent is no more compiling with gcc 3.4.6 or 4.1.2 as the option is not supported : cc1: error: unrecognized command line option "-Wno-array-bounds"

No problem with gcc 4.4.3,4.4.7 or 4.6.3

FYI :
gcc 3.4.6 is default gcc for RH/Centos 4
gcc 4.1.2 is default gcc for RH/Centos 5
gcc 4.4.3 is default gcc for Ubuntu 10.04
gcc 4.4.7 is default gcc for RH/Centos 6
gcc 4.6.3 is default gcc for Ubuntu 12.04
Comment 1 Eugene Tarassov CLA 2013-12-06 17:48:42 EST
I removed the flag.
Fixed.