Skip to content

Commit

Permalink
include cstdint for SIZE_MAX (#86)
Browse files Browse the repository at this point in the history
GCC 15 is removing cstdint from the C++ Standard Library.
  • Loading branch information
cjmayo authored Nov 27, 2024
1 parent 2e3659c commit 07785b7
Show file tree
Hide file tree
Showing 29 changed files with 46 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OndselSolver/AbsConstraint.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "Constraint.h"
namespace MbD {
class AbsConstraint : public Constraint
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/AngleZConstraintIqcJc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "AngleZConstraintIJ.h"

namespace MbD {
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/AngleZConstraintIqcJqc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "AngleZConstraintIqcJc.h"

namespace MbD {
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/AnyPosICNewtonRaphson.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "PosNewtonRaphson.h"
#include "DiagonalMatrix.h"

Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/AtPointConstraintIqcJc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "AtPointConstraintIJ.h"

namespace MbD {
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/AtPointConstraintIqcJqc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "AtPointConstraintIqcJc.h"

namespace MbD {
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/ConstVelConstraintIqcJc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "ConstVelConstraintIJ.h"

namespace MbD {
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/ConstVelConstraintIqcJqc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "ConstVelConstraintIqcJc.h"

namespace MbD {
Expand Down
1 change: 1 addition & 0 deletions OndselSolver/Constraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <functional>
#include <chrono>
#include <cstdint>

#include "Constraint.h"
#include "FullColumn.h"
Expand Down
1 change: 1 addition & 0 deletions OndselSolver/Constraint.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#pragma once

#include <cstdint>
#include <memory>

#include "enum.h"
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/DirectionCosineConstraintIqcJc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "DirectionCosineConstraintIJ.h"

namespace MbD {
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/DirectionCosineConstraintIqcJqc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "DirectionCosineConstraintIqcJc.h"

namespace MbD {
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/DispCompIecJecO.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "KinematicIeJe.h"

namespace MbD {
Expand Down
1 change: 1 addition & 0 deletions OndselSolver/EulerConstraint.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#pragma once

#include <cstdint>
#include <memory>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions OndselSolver/FullMatrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#pragma once

#include <cmath>
#include <cstdint>
#include <memory>

#include "RowTypeMatrix.h"
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/GESpMat.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "MatrixGaussElimination.h"
#include "SparseMatrix.h"

Expand Down
1 change: 1 addition & 0 deletions OndselSolver/GESpMatFullPvPosIC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <algorithm>
#include <cassert>
#include <cstdint>

#include "GESpMatFullPvPosIC.h"
#include "SingularMatrixError.h"
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/GeneralSpline.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "AnyGeneralSpline.h"

namespace MbD {
Expand Down
1 change: 1 addition & 0 deletions OndselSolver/NewtonRaphson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <iostream>
#include <limits>
#include <cassert>
#include <cstdint>

#include "NewtonRaphson.h"
#include "SystemSolver.h"
Expand Down
1 change: 1 addition & 0 deletions OndselSolver/NewtonRaphson.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#pragma once

#include <cstdint>
#include <memory>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions OndselSolver/Part.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#pragma once

#include <cstdint>
#include <memory>

#include "Item.h"
Expand Down
1 change: 1 addition & 0 deletions OndselSolver/PartFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
***************************************************************************/

#include<algorithm>
#include <cstdint>

#include "PartFrame.h"
#include "Part.h"
Expand Down
1 change: 1 addition & 0 deletions OndselSolver/PartFrame.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#pragma once

#include <cstdint>
#include <memory>
#include <vector>
#include <functional>
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/RackPinConstraintIqcJqc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "RackPinConstraintIqcJc.h"

namespace MbD {
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/ScrewConstraintIqcJqc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "ScrewConstraintIqcJc.h"

namespace MbD {
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/TranslationConstraintIqcJqc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "TranslationConstraintIqcJc.h"

namespace MbD {
Expand Down
1 change: 1 addition & 0 deletions OndselSolver/VectorNewtonRaphson.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#pragma once

#include <cstdint>
#include <limits>

#include "NewtonRaphson.h"
Expand Down
2 changes: 2 additions & 0 deletions OndselSolver/VelICSolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <cstdint>

#include "VelSolver.h"

namespace MbD {
Expand Down
1 change: 1 addition & 0 deletions OndselSolver/VelSolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#pragma once

#include <cstdint>
#include <memory>

#include "Solver.h"
Expand Down

0 comments on commit 07785b7

Please sign in to comment.