Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7944 Discussions

gcc flags are unknown when moving to icc

Erez_Zilber
Beginner
621 Views
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
621 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
0 Kudos
Erez_Zilber
Beginner
621 Views
Thanks! When in v13 expected?
0 Kudos
Georg_Z_Intel
Employee
621 Views
Hello Erez,

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

Best regards,

Georg Zitzlsberger
0 Kudos
Erez_Zilber
Beginner
621 Views
Thanks!

Erez
0 Kudos
Reply