The following warnings are generated by VS 2022 IntelliSense:
Severity Code Description Project File Line Suppression State
Warning C26439 This kind of function may not throw. Declare it 'noexcept' (f.6). DRAWEXE C:\develop\occt.git\src\TCollection\TCollection_ExtendedString.hxx 106
Warning C28251 Inconsistent annotation for 'WinMain': this instance has no annotations. See c:\program files (x86)\windows kits\10\include\10.0.19041.0\um\winbase.h(1006). DRAWEXE C:\develop\occt.git\src\DRAWEXE\DRAWEXE.cxx 257
Warning C26812 The enum type 'gp_TrsfForm' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). DRAWEXE C:\develop\occt.git\src\gp\gp_Trsf.hxx 192
Warning C26812 The enum type 'Message_MetricType' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). DRAWEXE C:\develop\occt.git\src\Message\Message.hxx 109
Warning C26812 The enum type 'Message_Gravity' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). DRAWEXE C:\develop\occt.git\src\Message\Message_Printer.hxx 46
Warning C26495 Variable 'NCollection_BaseVector::Iterator::myVector' is uninitialized. Always initialize a member variable (type.6). DRAWEXE C:\develop\occt.git\src\NCollection\NCollection_BaseVector.hxx 71
Warning C26812 The enum type 'OSD_MemInfo::Counter' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). DRAWEXE C:\develop\occt.git\src\OSD\OSD_MemInfo.hxx 73
Warning C26812 The enum type 'Quantity_NameOfColor' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). DRAWEXE C:\develop\occt.git\src\Quantity\Quantity_Color.hxx 45
Warning C26439 This kind of function may not throw. Declare it 'noexcept' (f.6). DRAWEXE C:\develop\occt.git\src\Standard\Standard_Handle.hxx 75
Warning C26439 This kind of function may not throw. Declare it 'noexcept' (f.6). DRAWEXE C:\develop\occt.git\src\Standard\Standard_Handle.hxx 118
Warning C26451 Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). DRAWEXE C:\develop\occt.git\src\Standard\Standard_Real.hxx 261
Warning C26439 This kind of function may not throw. Declare it 'noexcept' (f.6). DRAWEXE C:\develop\occt.git\src\TCollection\TCollection_AsciiString.hxx 86
Warning C26439 This kind of function may not throw. Declare it 'noexcept' (f.6). DRAWEXE C:\develop\occt.git\src\TCollection\TCollection_AsciiString.hxx 290
Warning C26439 This kind of function may not throw. Declare it 'noexcept' (f.6). DRAWEXE C:\develop\occt.git\src\TCollection\TCollection_ExtendedString.hxx 163
Warning C26812 The enum type 'TopAbs_ShapeEnum' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). DRAWEXE C:\develop\occt.git\src\TopAbs\TopAbs.hxx 102
Warning C26812 The enum type 'TopAbs_Orientation' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). DRAWEXE C:\develop\occt.git\src\TopAbs\TopAbs.hxx 108
Warning C26439 This kind of function may not throw. Declare it 'noexcept' (f.6). DRAWEXE C:\develop\occt.git\src\TopLoc\TopLoc_SListOfItemLocation.hxx 76
Warning C26439 This kind of function may not throw. Declare it 'noexcept' (f.6). DRAWEXE C:\develop\occt.git\src\TopLoc\TopLoc_SListOfItemLocation.hxx 82
Warning C26812 The enum type 'TopoDS_TShape::TopoDS_TShape_Flags' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). DRAWEXE C:\develop\occt.git\src\TopoDS\TopoDS_TShape.hxx 169
|