Archived issue #0024284
Some trivial warnings produced by ICC 14
Description
When building OCCT with Intel compiler, it produces ~ 3100 warnings (ICC 14.0 under VS 2010, 64-bit Release mode). Some of them are trivial and can be easily fixed, e.g.:
# 82: storage class is not first (e.g. "int static f()")
# 2621: attribute "dllexport" does not apply here (e.g. "Standard_EXPORT typedef int qqint;")
# 2415: variable "..." of static storage duration was declared but never referenced
# 111: statement is unreachable (usually "break" after "return" in cycles)
# 82: storage class is not first (e.g. "int static f()")
# 2621: attribute "dllexport" does not apply here (e.g. "Standard_EXPORT typedef int qqint;")
# 2415: variable "..." of static storage duration was declared but never referenced
# 111: statement is unreachable (usually "break" after "return" in cycles)
Public activity
3 archived notes
Participants are labeled by their role within this record.
I have pushed a fix (reducing amount of warnings by ICC by about 600) to branch CR24248, please review.
Patch is ready for testing.
Dear Commenter 1,
Branch CR24284 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 368 (368 on master)
Windows: 6 (6 on master)
products component :
Linux: 189 (190 on master)
Windows: 287 (287 on master)
Regressions/Differences:
No regressions/differences
Testing cases:
Not needed
Testing on Linux:
Total MEMORY difference: 353413440 / 353846632
Total CPU difference: 43125.24000000073 / 42954.54000000077
Testing on Windows:
Total MEMORY difference: 407697884 / 407087508
Total CPU difference: 31797.6875 / 37415.71875
There are not differences in images found by testdiff.
Branch CR24284 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 368 (368 on master)
Windows: 6 (6 on master)
products component :
Linux: 189 (190 on master)
Windows: 287 (287 on master)
Regressions/Differences:
No regressions/differences
Testing cases:
Not needed
Testing on Linux:
Total MEMORY difference: 353413440 / 353846632
Total CPU difference: 43125.24000000073 / 42954.54000000077
Testing on Windows:
Total MEMORY difference: 407697884 / 407087508
Total CPU difference: 31797.6875 / 37415.71875
There are not differences in images found by testdiff.