Commit 0851949 1 parent c4c189f commit 0851949 Copy full SHA for 0851949
File tree 4 files changed +20
-3
lines changed
include/sdf/usd/sdf_parser
4 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 20
20
21
21
#include < string>
22
22
23
+ // TODO(ahcorde):this is to remove deprecated "warnings" in usd, these warnings
24
+ // are reported using #pragma message so normal diagnostic flags cannot remove
25
+ // them. This workaround requires this block to be used whenever usd is
26
+ // included.
23
27
#pragma push_macro ("__DEPRECATED")
24
28
#undef __DEPRECATED
25
29
#include < pxr/usd/usd/stage.h>
Original file line number Diff line number Diff line change 17
17
18
18
#include < string.h>
19
19
20
+ // TODO(ahcorde):this is to remove deprecated "warnings" in usd, these warnings
21
+ // are reported using #pragma message so normal diagnostic flags cannot remove
22
+ // them. This workaround requires this block to be used whenever usd is
23
+ // included.
20
24
#include < ignition/utils/cli/CLI.hpp>
21
25
#pragma push_macro ("__DEPRECATED")
22
26
#undef __DEPRECATED
Original file line number Diff line number Diff line change 20
20
#include < iostream>
21
21
#include < string>
22
22
23
+ // TODO(ahcorde):this is to remove deprecated "warnings" in usd, these warnings
24
+ // are reported using #pragma message so normal diagnostic flags cannot remove
25
+ // them. This workaround requires this block to be used whenever usd is
26
+ // included.
27
+ #pragma push_macro ("__DEPRECATED")
28
+ #undef __DEPRECATED
23
29
#include < pxr/base/gf/vec3f.h>
24
30
#include < pxr/usd/sdf/path.h>
25
31
#include < pxr/usd/usd/prim.h>
26
- #pragma push_macro ("__DEPRECATED")
27
- #undef __DEPRECATED
28
32
#include < pxr/usd/usd/stage.h>
29
- #pragma pop_macro ("__DEPRECATED")
30
33
#include < pxr/usd/usdGeom/tokens.h>
31
34
#include < pxr/usd/usdPhysics/scene.h>
35
+ #pragma pop_macro ("__DEPRECATED")
32
36
33
37
#include " sdf/World.hh"
34
38
Original file line number Diff line number Diff line change 18
18
#include < string>
19
19
20
20
#include < gtest/gtest.h>
21
+
22
+ // TODO(ahcorde):this is to remove deprecated "warnings" in usd, these warnings
23
+ // are reported using #pragma message so normal diagnostic flags cannot remove
24
+ // them. This workaround requires this block to be used whenever usd is
25
+ // included.
21
26
#pragma push_macro ("__DEPRECATED")
22
27
#undef __DEPRECATED
23
28
#include < pxr/base/gf/vec3f.h>
You can’t perform that action at this time.
0 commit comments