-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix icc warnings #18
Comments
Imported from trac issue 17. Created by jsquyres on 2009-10-21T13:57:52, last modified: 2010-04-20T17:27:48 |
Trac comment by jsquyres on 2009-12-01 08:47:32: Chris Samuel pointed out another icc warning of the flavor: {{{ The first one stems from the compile line, which you can see if you {{{make V=1}}}: {{{ You can see both "-std=c99" ''and'' "-std=gnu99", which -- at least at first blush -- doesn't seem right. Part of the problem ''might'' be in config/hwloc.m4: {{{ icc lies to impersonate gcc and probably allows the "are we using GCC?" test to fill $GCC with "yes", which could somehow lead to the repetitive -std option. As for the -W warnings, I'm not sure specifically which one it is referring to, but it could also stem from the same test in hwloc.m4 (where icc is lying about being GCC). If it helps, we have a better detection m4 algorithm in Open MPI that ''really'' figures out if the compiler is GCC or not. Something to check into... |
Trac comment by sthibaul on 2010-01-04 12:39:15: (In [1560]) fix icc's pickyness about parameter ordering (even if all these functions are marked const...); Refs #17 |
Trac comment by sthibaul on 2010-01-04 12:40:47: (In [1561]) avoid warning about maxwidth/maxheight not being always used. Refs #17 |
Trac comment by sthibaul on 2010-01-04 12:55:22: (In [1565]) fix icc's pickyness about parameter ordering (even if all these functions are marked const...); Refs #17 |
Trac comment by sthibaul on 2010-01-04 13:01:36: first and second types of warning should be fixed by now, except the dtd which could be looked at. |
Trac comment by bgoglin on 2010-04-20 17:27:48: Most of these should be fixed or acceptable now, closing. |
There's a truckload of warnings generated when icc 11.1.056 is used to compile hwloc. Most are in one of three types:
The first two should probably be fixed; we may or may not care about fixing the third.
The text was updated successfully, but these errors were encountered: