gcc flags are unknown when moving to icc

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

5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Georg Zitzlsberger (Intel)'s picture

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

Thanks! When in v13 expected?

Georg Zitzlsberger (Intel)'s picture

Hello Erez,

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

Best regards,

Georg Zitzlsberger

Thanks!

Erez

Login to leave a comment.