Opened 7 years ago

Closed 5 years ago

#1573 closed defect (fixed)

rasdaman does not compile with -DENABLE_STRICT=ON and -DCMAKE_BUILD_TYPE=Release or _DCMAKE_BUILD_TYPE=Debug

Reported by: bbell Owned by: apercov
Priority: minor Milestone: 10.0
Component: debug Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

several warnings arise, including: strict aliasing rules not being followed and uninitialized values being passed.

These warnings are not present with "-O0"

One should go through and improve the compiler-flagged sections of code until rasdaman no longer makes use of compiler-undefined behaviour.

Change History (6)

comment:1 by Dimitar Misev, 6 years ago

Summary: rasdaman does not compile with -DENABLE_STRICT=ON and -DCMAKE_CXX_FLAGS=" -O3"rasdaman does not compile with -DENABLE_STRICT=ON and -DCMAKE_BUILD_TYPE=Release

comment:2 by Dimitar Misev, 5 years ago

Owner: changed from bbell to ahambasan
Status: newassigned

comment:3 by Dimitar Misev, 5 years ago

Owner: changed from ahambasan to apercov

comment:4 by apercov, 5 years ago

Status: assignedaccepted

comment:5 by apercov, 5 years ago

Summary: rasdaman does not compile with -DENABLE_STRICT=ON and -DCMAKE_BUILD_TYPE=Releaserasdaman does not compile with -DENABLE_STRICT=ON and -DCMAKE_BUILD_TYPE=Release or _DCMAKE_BUILD_TYPE=Debug

comment:6 by apercov, 5 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.