View Issue Details

IDProjectCategoryView StatusLast Update
0024284Open CASCADEOCCT:Codingpublic2013-12-19 13:58
ReporterabvAssigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version6.7.0 
Target Version6.7.0Fixed in Version6.7.0 
Summary0024284: Some trivial warnings produced by ICC 14
DescriptionWhen 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)
TagsNo tags attached.
Test case numberNot needed

Activities

abv

2013-10-24 10:02

manager   ~0026249

I have pushed a fix (reducing amount of warnings by ICC by about 600) to branch CR24248, please review.

kgv

2013-10-24 10:14

developer   ~0026251

Patch is ready for testing.

mkv

2013-10-28 15:00

tester   ~0026303

Dear BugMaster,

Branch CR24284 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
SHA-1: ca220f5e9e0073c5b59327bbc0fb62c3ac60fe8c

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.

Related Changesets

occt: master f24125b9

2013-10-24 05:22:29

abv


Committer: bugmaster Details Diff
0024284: Some trivial warnings produced by ICC 14

Eliminated ICC 14 warnings:
# 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)
Affected Issues
0024284
mod - src/Adaptor3d/Adaptor3d_IsoCurve.cxx Diff File
mod - src/Adaptor3d/Adaptor3d_SurfaceOfLinearExtrusion.cxx Diff File
mod - src/Adaptor3d/Adaptor3d_SurfaceOfRevolution.cxx Diff File
mod - src/BRepFeat/BRepFeat.cxx Diff File
mod - src/BRepOffset/BRepOffset_Tool.cxx Diff File
mod - src/CDF/CDF.cxx Diff File
mod - src/CPnts/CPnts_UniformDeflection.cxx Diff File
mod - src/DDataStd/DDataStd_DrawDriver.cxx Diff File
mod - src/Draw/Draw_PInterp.hxx Diff File
mod - src/Draw/Draw_Window.cxx Diff File
mod - src/Extrema/Extrema_ExtElCS.cxx Diff File
mod - src/FSD/FSD_BinaryFile.cxx Diff File
mod - src/FSD/FSD_CmpFile.cxx Diff File
mod - src/Graphic3d/Graphic3d_TransModeFlags.hxx Diff File
mod - src/Image/Image_Diff.cxx Diff File
mod - src/Image/Image_PixMap.cxx Diff File
mod - src/IntTools/IntTools.cxx Diff File
mod - src/LDOM/LDOM_CharReference.cxx Diff File
mod - src/LDOM/LDOM_XmlReader.cxx Diff File
mod - src/LDOM/LDOM_XmlWriter.cxx Diff File
mod - src/MeshVS/MeshVS_BuilderPriority.hxx Diff File
mod - src/MeshVS/MeshVS_DisplayModeFlags.hxx Diff File
mod - src/MeshVS/MeshVS_EntityType.hxx Diff File
mod - src/MeshVS/MeshVS_SelectionModeFlags.hxx Diff File
mod - src/MeshVS/MeshVS_TwoColors.hxx Diff File
mod - src/OpenGl/OpenGl_Matrix.hxx Diff File
mod - src/OSD/OSD_Error.cxx Diff File
mod - src/PCollection/PCollection_HExtendedString.cxx Diff File
mod - src/PLib/PLib.cxx Diff File
mod - src/QABugs/QABugs_19.cxx Diff File
mod - src/StepFile/recfile.pc Diff File
mod - src/TNaming/TNaming.cxx Diff File
mod - src/TNaming/TNaming_Localizer.cxx Diff File
mod - src/TopLoc/TopLoc_Location.cxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_KPart.cxx Diff File

Issue History

Date Modified Username Field Change
2013-10-24 09:20 abv New Issue
2013-10-24 09:20 abv Assigned To => bugmaster
2013-10-24 10:02 abv Note Added: 0026249
2013-10-24 10:02 abv Assigned To bugmaster => kgv
2013-10-24 10:02 abv Status new => resolved
2013-10-24 10:14 kgv Note Added: 0026251
2013-10-24 10:14 kgv Assigned To kgv => bugmaster
2013-10-24 10:14 kgv Status resolved => reviewed
2013-10-24 10:58 abv Description Updated
2013-10-24 11:37 mkv Assigned To bugmaster => mkv
2013-10-28 15:00 mkv Note Added: 0026303
2013-10-28 15:01 mkv Test case number => Not needed
2013-10-28 15:01 mkv Assigned To mkv => bugmaster
2013-10-28 15:01 mkv Status reviewed => tested
2013-11-06 11:07 bugmaster Changeset attached => occt master f24125b9
2013-11-06 11:07 bugmaster Status tested => verified
2013-11-06 11:07 bugmaster Resolution open => fixed
2013-12-19 13:51 bugmaster Status verified => closed
2013-12-19 13:58 bugmaster Fixed in Version => 6.7.0
2014-01-11 11:58 abv Category OCCT Release:BUILD => OCCT:Coding