Skip to content

Commit b7590f5

Browse files
dbstimsongfxbot
authored andcommitted
3d/common/iStdLib/types.h - Remove gcc pragma to ignore -pedantic
3d/common/iStdLib/types.h:91:32: error: '-pedantic' is not an option that controls warnings [-Werror=pragmas] #pragma GCC diagnostic ignored "-pedantic" // warning: ISO C++ prohibits anonymous structs [-pedantic] Change-Id: I7376783521228493f2d894cf807e7124072e4314 Signed-off-by: Dale Stimson <[email protected]>
1 parent 1432826 commit b7590f5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

3d/common/iStdLib/types.h

-5
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ struct SRangeA
8686
#ifdef _MSC_VER
8787
#pragma warning( push )
8888
#pragma warning( disable: 4201 ) // warning C4201: nonstandard extension used : nameless struct/union
89-
#elif (defined __GNUC__) && !(defined __clang__)
90-
#pragma GCC diagnostic push
91-
#pragma GCC diagnostic ignored "-pedantic" // warning: ISO C++ prohibits anonymous structs [-pedantic]
9289
#endif
9390

9491

@@ -277,8 +274,6 @@ union FLOAT64
277274

278275
#ifdef _MSC_VER
279276
#pragma warning( pop ) // warning C4201: nonstandard extension used : nameless struct/union
280-
#elif (defined __GNUC__) && !(defined __clang__)
281-
#pragma GCC diagnostic pop // warning: ISO C++ prohibits anonymous structs [-pedantic]
282277
#endif
283278

284279

0 commit comments

Comments
 (0)