force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web TODO: fix several -Woverflow in area
This commit is contained in:
@@ -511,6 +511,6 @@ protected:
|
||||
std::vector<Base::Vector3f> _norm;
|
||||
};
|
||||
|
||||
}; // namespace MeshCore
|
||||
} // namespace MeshCore
|
||||
|
||||
#endif // MESH_ALGORITHM_H
|
||||
|
||||
@@ -97,7 +97,7 @@ inline void MeshHelpPoint::Set (unsigned long ulCorner, unsigned long ulFacet, c
|
||||
{
|
||||
_ulInd = (ulFacet << 2) | ulCorner;
|
||||
_clPt = rclPt;
|
||||
};
|
||||
}
|
||||
|
||||
inline bool MeshHelpPoint::operator < (const MeshHelpPoint &rclObj) const
|
||||
{
|
||||
|
||||
@@ -185,6 +185,6 @@ private:
|
||||
};
|
||||
|
||||
|
||||
}; // namespace MeshCore
|
||||
} // namespace MeshCore
|
||||
|
||||
#endif // MESH_SETOPERATIONS_H
|
||||
|
||||
@@ -44,9 +44,9 @@
|
||||
|
||||
using namespace Mesh;
|
||||
|
||||
TYPESYSTEM_SOURCE(Mesh::PropertyNormalList, App::PropertyLists);
|
||||
TYPESYSTEM_SOURCE(Mesh::PropertyCurvatureList , App::PropertyLists);
|
||||
TYPESYSTEM_SOURCE(Mesh::PropertyMeshKernel , App::PropertyComplexGeoData);
|
||||
TYPESYSTEM_SOURCE(Mesh::PropertyNormalList, App::PropertyLists)
|
||||
TYPESYSTEM_SOURCE(Mesh::PropertyCurvatureList , App::PropertyLists)
|
||||
TYPESYSTEM_SOURCE(Mesh::PropertyMeshKernel , App::PropertyComplexGeoData)
|
||||
|
||||
PropertyNormalList::PropertyNormalList()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user