silence compiler warnings for gcc 4.7 and before by DerDakon · Pull Request #53 · nonstd-lite/string-view-lite
The option -Wliteral-suffix was introduced in gcc 4.8, and "#pragma GCC diagnostic push" was added in 4.6. Using the header with an older gcc would lead to warnings like: string_view.hpp:438: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' string_view.hpp:439: warning: unknown option after '#pragma GCC diagnostic' kind string_view.hpp:1681: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic'
DerDakon
changed the title
silency compiler warnings for gcc 4.7 and before
silence compiler warnings for gcc 4.7 and before
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters