Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Erez_Zilber
Beginner
72 Views

gcc flags are unknown when moving to icc

Hi,

I'm evaluating icc and get many wanrings during compilation:

icc: command line warning #10006: ignoring unknown option '-Wfloat-equal'
icc: command line warning #10006: ignoring unknown option '-Wcast-align'
icc: command line warning #10006: ignoring unknown option '-Wnested-externs'
icc: command line warning #10006: ignoring unknown option '-Wvolatile-register-var'
icc: command line warning #10006: ignoring unknown option '-Wpointer-sign'
icc: command line warning #10006: ignoring unknown option '-Wmissing-format-attribute'
icc: command line warning #10006: ignoring unknown option '-Wno-missing-field-initializers'

I thought that all gcc flags should work also with icc. Can anyone help with that?

Thanks,
Erez
0 Kudos
4 Replies
Georg_Z_Intel
Employee
72 Views

Hello Erez,

those are features for additional checking. With the next major version (13.0) of the compiler, released later this year, we're going to add support for (most of) such options. Following updates will add more.

For all the options you provided we either have implemented support (for future 13.0) or there are already tickets for future action, which I just verified.

Edit: The release notes of the future compiler versions will document newly added features.

Best regards,

Georg Zitzlsberger
Erez_Zilber
Beginner
72 Views

Thanks! When in v13 expected?
Georg_Z_Intel
Employee
72 Views

Hello Erez,

it's expected to have a new major version coming around mid of September this year.

Best regards,

Georg Zitzlsberger
Erez_Zilber
Beginner
72 Views

Thanks!

Erez