Archived issue #0028979

Coding rules - eliminate GCC compiler warnings -Wstrict-aliasing within Graphic3d_ArrayOfPrimitives.lxx

Open CASCADEOCCT:Codingclosed4 public notes

Search issues

Description

The following GCC 6.3.0 compiler warnings should be suppressed:
/occt.git/inc/../src/Graphic3d/Graphic3d_ArrayOfPrimitives.lxx|308|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
/occt.git/src/AIS/AIS_Triangulation.cxx|269|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|

Steps to reproduce

N/A

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon Aug 7 19:42:34 2017 +0300

    0028979: Coding rules - eliminate GCC compiler warnings -Wstrict-aliasing within Graphic3d_ArrayOfPrimitives.lxx
02Author
03Commenter 1
Combination -
OCCT branch : [archived branch] : [revision removed]
Products branch : [archived branch]

Number of compiler warnings:

OCCT :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

Products :
Linux: 5 (5 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
No differences that require special attention

Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
04Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]