Skip to content

Commit

Permalink
Fix GCC ignore pragma, closes #916
Browse files Browse the repository at this point in the history
  • Loading branch information
hsutter committed Jan 5, 2024
1 parent 389ae50 commit fc5a354
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion regression-tests/test-results/version
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

cppfront compiler v0.3.0 Build 9104:1118
cppfront compiler v0.3.0 Build 9104:1809
Copyright(c) Herb Sutter All rights reserved

SPDX-License-Identifier: CC-BY-NC-ND-4.0
Expand Down
2 changes: 1 addition & 1 deletion source/build.info
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"9104:1118"
"9104:1809"
2 changes: 1 addition & 1 deletion source/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#pragma warning(disable: 4456)
#endif
#if defined(__GNUC__) && __GNUC__ >= 13 && !defined(__clang_major__)
#pragma GCC diagnostic ignored "-Wno-dangling-reference"
#pragma GCC diagnostic ignored "-Wdangling-reference"
#endif

#include "cpp2util.h"
Expand Down

0 comments on commit fc5a354

Please sign in to comment.