Skip to content

Commit ff2ec6c

Browse files
authored
Suppress GCC warning for multi-character constant in CxPlatPoolT (#5121)
1 parent bb17196 commit ff2ec6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/inc/msquic.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ constexpr _Ty&& CxPlatForward(
117117
return static_cast<_Ty&&>(_Arg);
118118
}
119119

120+
#ifdef __GNUC__
121+
#pragma GCC diagnostic ignored "-Wmultichar" // Multi-character constant used intentionally for the tag
122+
#endif
120123
template<typename T, uint32_t Tag = 'lPxC', bool Paged = false>
121124
class CxPlatPoolT {
122125
CXPLAT_POOL Pool;

0 commit comments

Comments
 (0)