Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
methylDragon committed May 18, 2022
1 parent 3495f2b commit c8fa4c0
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions include/ignition/utils/config.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,19 @@

#include <gz/utils/config.hh>

namespace [[deprecated("Use gz namespace.")]] ignition
{
using namespace gz;
}
#ifdef __GNUC__
#warning "The ignition namespace is deprecated, use gz instead!"
namespace ignition
{
using namespace gz;
}

#elif defined(_WINDOWS) || defined(_WIN32)
#pragma deprecated(ignition)
namespace __declspec(deprecated("ignition namespace is deprecated **")) ignition
{
using namespace gz;
}
#endif

#endif

0 comments on commit c8fa4c0

Please sign in to comment.