Archived issue #0026067

Coding Rules - eliminate warnings about suspicious comparisons

Open CASCADEOCCT:Codingclosed1 public note

Search issues

Description

There is a bunch of warnings that should be eliminated, like this one:
~/occtios/src/GeomToStep/GeomToStep_MakeVector.cxx:84:28: note: add parentheses after the '!' to evaluate the comparison first
In file included from ~/occtios/src/GeomToStep/GeomToStep_MakeVector.cxx:17:
In file included from ../../../drv/GeomToStep/GeomToStep_MakeVector.ixx:6:
In file included from ../../../drv/GeomToStep/GeomToStep_MakeVector.jxx:2:
../../../inc/StdFail_NotDone.hxx:18:7: note: expanded from macro 'StdFail_NotDone_Raise_if'
  if (CONDITION) StdFail_NotDone::Raise(MESSAGE);

Steps to reproduce

N/A

Public activity

1 archived note

Participants are labeled by their role within this record.

01Author
Dear Commenter 1,

please close this bug since it is duplicate of #0026167.

Related records