Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with -pedantic, fix problems #3892

Merged
merged 9 commits into from
Feb 16, 2023
Prev Previous commit
Next Next commit
Fix string literals in exceptions.h
  • Loading branch information
vlstill committed Feb 16, 2023
commit 2d26e1aae70f717a464c06e25c2ed3bdb85b1082
6 changes: 3 additions & 3 deletions lib/exceptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ limitations under the License.
namespace Util {

// colors to pretty print messages
constexpr char ANSI_RED[] = "\e[31m";
constexpr char ANSI_BLUE[] = "\e[34m";
constexpr char ANSI_CLR[] = "\e[0m";
constexpr char ANSI_RED[] = "\\e[31m";
vlstill marked this conversation as resolved.
Show resolved Hide resolved
constexpr char ANSI_BLUE[] = "\\e[34m";
constexpr char ANSI_CLR[] = "\\e[0m";

/// Checks if stderr is redirected to a file
/// Check is done only once and then saved to a static variable
Expand Down