SHF_GNU_RETAIN 7a and 7b tests
[binutils-gdb.git] / gdb / ada-lex.l
index 1e4bc20f77cbb2187acac642374880548071cdb7..edf28801944d082fe62ec7eeaac97aaead026f98 100644 (file)
@@ -45,7 +45,9 @@ POSEXP  (e"+"?{NUM10})
 
 /* Some old versions of flex generate code that uses the "register" keyword,
    which clang warns about.  This was observed for example with flex 2.5.35,
-   as shipped with macOS 10.12.  */
+   as shipped with macOS 10.12.  The same happens with flex 2.5.37 and g++ 11
+   which defaults to ISO C++17, that does not allow register storage class
+   specifiers.  */
 DIAGNOSTIC_PUSH
 DIAGNOSTIC_IGNORE_DEPRECATED_REGISTER