Skip to content

Commit

Permalink
GCC 13: Added workaround for termcolor bug (missing include) (#1228)
Browse files Browse the repository at this point in the history
Currently (2023-10-26) termcolor does not include the cstdint header file, but it is needed for Ubuntu 23.10 / gcc 13.2: ikalnytskyi/termcolor#72
  • Loading branch information
FlorianReimold committed Oct 27, 2023
1 parent e365fe0 commit 500e6a6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/play/play_cli/src/ecal_play_cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#pragma warning(push)
#pragma warning(disable: 4800 )
#endif //_MSC_VER
#include <cstdint> // Needed for termcolor. Currently (2023-10-26) termcolor does not include this header file, but it is needed for Ubuntu 23.10 / gcc 13.2: https://github.com/ikalnytskyi/termcolor/pull/72
#include <termcolor/termcolor.hpp>
#ifdef _MSC_VER
#pragma warning(pop)
Expand Down
1 change: 1 addition & 0 deletions app/rec/rec_server_cli/src/commands/status.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#pragma warning(disable: 4800) // disable termcolor warnings
#endif

#include <cstdint> // Needed for termcolor. Currently (2023-10-26) termcolor does not include this header file, but it is needed for Ubuntu 23.10 / gcc 13.2: https://github.com/ikalnytskyi/termcolor/pull/72
#include <termcolor/termcolor.hpp>

#ifdef _MSC_VER
Expand Down
1 change: 1 addition & 0 deletions app/rec/rec_server_cli/src/commands/table_printer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#pragma warning(disable: 4800) // disable termcolor warnings
#endif

#include <cstdint> // Needed for termcolor. Currently (2023-10-26) termcolor does not include this header file, but it is needed for Ubuntu 23.10 / gcc 13.2: https://github.com/ikalnytskyi/termcolor/pull/72
#include <termcolor/termcolor.hpp>

#ifdef _MSC_VER
Expand Down
1 change: 1 addition & 0 deletions app/sys/sys_cli/src/commands/list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#pragma warning(push)
#pragma warning(disable: 4800) // disable termcolor warnings
#endif
#include <cstdint> // Needed for termcolor. Currently (2023-10-26) termcolor does not include this header file.
#include <termcolor/termcolor.hpp>
#ifdef _MSC_VER
#pragma warning(pop)
Expand Down

0 comments on commit 500e6a6

Please sign in to comment.