This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Unix build uses '-Wno-unused-result', which icc doesn't recognize
Type: behavior Stage: resolved
Components: Build Versions: Python 3.6, Python 3.4, Python 3.5, Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: ammar2, zach.ware
Priority: low Keywords:

Created on 2015-07-24 19:43 by zach.ware, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg247299 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2015-07-24 19:43
It would be nice to leave out '-Wno-unused-result' when CC=icc to prevent superfluous warnings like:

icc: command line warning #10006: ignoring unknown option '-Wno-unused-result'
msg407618 - (view) Author: Ammar Askar (ammar2) * (Python committer) Date: 2021-12-03 23:44
Looks like the latest versions of icc support this flag: https://www.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/compiler-diagnostic-options/wunused-variable.html

Closing as outdated.
History
Date User Action Args
2022-04-11 14:58:19adminsetgithub: 68897
2021-12-03 23:44:33ammar2setstatus: open -> closed

nosy: + ammar2
messages: + msg407618

resolution: out of date
stage: needs patch -> resolved
2015-07-24 19:43:54zach.warecreate