Skip to content

Commit c7827f3

Browse files
scpetersmjcarroll
andauthored
Fix build error when using gz:: with ign-common4 (#489)
Signed-off-by: Steve Peters <[email protected]> Signed-off-by: Michael Carroll <[email protected]> Co-authored-by: Michael Carroll <[email protected]>
1 parent 1db040a commit c7827f3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+119
-9
lines changed

av/include/gz/common/AudioDecoder.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <string>
2222
#include <memory>
2323

24+
#include <gz/common/config.hh>
2425
#include <gz/common/av/Export.hh>
2526
#include <gz/common/SuppressWarning.hh>
2627

av/include/gz/common/HWEncoder.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <string>
2121
#include <optional>
2222

23+
#include <gz/common/config.hh>
2324
#include <gz/common/FlagSet.hh>
2425
#include <gz/common/av/Export.hh>
2526
#include <gz/common/SuppressWarning.hh>

av/include/gz/common/HWVideo.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#ifndef IGNITION_COMMON_HWVIDEO_HH
1717
#define IGNITION_COMMON_HWVIDEO_HH
1818

19+
#include <gz/common/config.hh>
1920
#include <gz/common/EnumIface.hh>
2021

2122
namespace ignition::common

av/include/gz/common/Video.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <string>
2121
#include <memory>
2222

23+
#include <gz/common/config.hh>
2324
#include <gz/common/av/Export.hh>
2425
#include <gz/common/SuppressWarning.hh>
2526

av/include/gz/common/VideoEncoder.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <memory>
2323
#include <optional>
2424

25+
#include <gz/common/config.hh>
2526
#include <gz/common/FlagSet.hh>
2627
#include <gz/common/av/Export.hh>
2728
#include <gz/common/SuppressWarning.hh>

av/include/gz/common/av/Util.hh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#ifndef GZ_COMMON_AV_UTIL_HH_
1919
#define GZ_COMMON_AV_UTIL_HH_
2020

21+
#include <gz/common/config.hh>
22+
2123
namespace ignition
2224
{
2325
namespace common

events/include/gz/common/KeyEvent.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <memory>
2121
#include <string>
2222

23+
#include <gz/common/config.hh>
2324
#include <gz/common/events/Export.hh>
2425
#include <gz/common/SuppressWarning.hh>
2526

events/include/gz/common/MouseEvent.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <memory>
2121
#include <gz/math/Vector2.hh>
2222

23+
#include <gz/common/config.hh>
2324
#include <gz/common/events/Export.hh>
2425
#include <gz/common/SuppressWarning.hh>
2526

events/include/gz/common/events/Types.hh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
#include <memory>
2222

23+
#include <gz/common/config.hh>
24+
2325
// This header contains forward declarations for some event types
2426
namespace ignition
2527
{

examples/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ target_compile_definitions(profiler_example PUBLIC "IGN_PROFILER_ENABLE=1")
2020
add_executable(logging_performance logging_performance.cc)
2121
target_link_libraries(logging_performance ignition-common${IGN_COMMON_VER}::core)
2222

23+
add_executable(util_example util.cc)
24+
target_link_libraries(util_example ignition-common${IGN_COMMON_VER}::core)

0 commit comments

Comments
 (0)