Commit 9f397e1 1 parent 69f56bd commit 9f397e1 Copy full SHA for 9f397e1
File tree 5 files changed +56
-0
lines changed
5 files changed +56
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,11 @@ set(GZ_RENDERING_ENGINE_INSTALL_DIR
171
171
if (NOT MSVC )
172
172
#--------------------------------------
173
173
# Find CUDA
174
+ # Module is being removed in CMake and needs a non trivial
175
+ # migration https://cmake.org/cmake/help/latest/policy/CMP0146.html
176
+ if (POLICY CMP0146)
177
+ cmake_policy (SET CMP0146 OLD)
178
+ endif ()
174
179
find_package (CUDA)
175
180
176
181
#--------------------------------------
Original file line number Diff line number Diff line change 28
28
#include " gz/rendering/Sensor.hh"
29
29
#include " gz/rendering/Scene.hh"
30
30
31
+ // overloaded-virtuals warnings appeared on Ubuntu Noble
32
+ // GCC-13. it is not easy to fix them without breaking ABI
33
+ // ignore them to preserve current ABI.
34
+ #if defined(__GNUC__) || defined(__clang__)
35
+ # pragma GCC diagnostic push
36
+ # pragma GCC diagnostic ignored "-Woverloaded-virtual"
37
+ #endif
31
38
32
39
namespace gz
33
40
{
@@ -369,4 +376,9 @@ namespace gz
369
376
}
370
377
}
371
378
}
379
+
380
+ #if defined(__GNUC__) || defined(__clang__)
381
+ # pragma GCC diagnostic pop
382
+ #endif
383
+
372
384
#endif
Original file line number Diff line number Diff line change 22
22
#include " gz/rendering/RenderTypes.hh"
23
23
#include " gz/rendering/Export.hh"
24
24
25
+ // overloaded-virtuals warnings appeared on Ubuntu Noble
26
+ // GCC-13. it is not easy to fix them without breaking ABI
27
+ // ignore them to preserve current ABI.
28
+ #if defined(__GNUC__) || defined(__clang__)
29
+ # pragma GCC diagnostic push
30
+ # pragma GCC diagnostic ignored "-Woverloaded-virtual"
31
+ #endif
32
+
25
33
namespace gz
26
34
{
27
35
namespace rendering
@@ -69,4 +77,9 @@ namespace gz
69
77
}
70
78
}
71
79
}
80
+
81
+ #if defined(__GNUC__) || defined(__clang__)
82
+ # pragma GCC diagnostic pop
83
+ #endif
84
+
72
85
#endif
Original file line number Diff line number Diff line change 22
22
#include " gz/rendering/config.hh"
23
23
#include " gz/rendering/Node.hh"
24
24
25
+ // overloaded-virtuals warnings appeared on Ubuntu Noble
26
+ // GCC-13. it is not easy to fix them without breaking ABI
27
+ // ignore them to preserve current ABI.
28
+ #if defined(__GNUC__) || defined(__clang__)
29
+ # pragma GCC diagnostic push
30
+ # pragma GCC diagnostic ignored "-Woverloaded-virtual"
31
+ #endif
32
+
25
33
namespace gz
26
34
{
27
35
namespace rendering
@@ -206,4 +214,9 @@ namespace gz
206
214
}
207
215
}
208
216
}
217
+
218
+ #if defined(__GNUC__) || defined(__clang__)
219
+ # pragma GCC diagnostic pop
220
+ #endif
221
+
209
222
#endif
Original file line number Diff line number Diff line change 25
25
#include " gz/rendering/Scene.hh"
26
26
#include " gz/rendering/base/BaseRenderTypes.hh"
27
27
28
+ // overloaded-virtuals warnings appeared on Ubuntu Noble
29
+ // GCC-13. it is not easy to fix them without breaking ABI
30
+ // ignore them to preserve current ABI.
31
+ #if defined(__GNUC__) || defined(__clang__)
32
+ # pragma GCC diagnostic push
33
+ # pragma GCC diagnostic ignored "-Woverloaded-virtual"
34
+ #endif
35
+
28
36
namespace gz
29
37
{
30
38
namespace rendering
@@ -406,4 +414,9 @@ namespace gz
406
414
}
407
415
}
408
416
}
417
+
418
+ #if defined(__GNUC__) || defined(__clang__)
419
+ # pragma GCC diagnostic pop
420
+ #endif
421
+
409
422
#endif
You can’t perform that action at this time.
0 commit comments