Warning: rvalue references are a C++11 extension Warning: reference qualifiers on functions are a C++11 extension Warning: ’ A ’ keyword is a C++11 extension Warning: default member initializer for non-static data member is a C++11 extension Warning: non-class friend type A is a C++11 extension Warning: use of enumeration in a nested name specifier is a C++11 extension Warning: generalized initializer lists are a C++11 extension Warning: range-based for loop is a C++11 extension Warning: extern templates are a C++11 extension Warning: explicit conversion functions are a C++11 extension Warning: commas at the end of enumerator lists are a C++11 extension Warning: befriending enumeration type A is a C++11 extension Warning: enumeration types with a fixed underlying type are a C++11 extensionįunction definitions are a C++11 extension Warning: ‘auto’ type specifier is a C++11 extension Warning: implicit conversion from array size expression of type A to Warning: integer literal is too large to be represented in type ‘long’, interpreting as ‘unsigned long’ per C++98 this literal willĪlso controls -Wc++11-extra-semi, -Wc++11-inline-namespace, -Wc++11-long-long.ĭiagnostic text: warning: alias declarations are a C++11 extension Warning: explicit instantiation of A must occur in namespace B Warning: explicit instantiation of A not in a namespace enclosing B Warning: explicit instantiation of A must occur at global scope Warning: explicit instantiation cannot be ‘inline’ Warning: use of right-shift operator (‘>’) in template argument will require parentheses in C++11 Warning: identifier after literal will be treated as a user-defined literal suffix in C++11 Warning: ‘auto’ storage class specifier is redundant and incompatible with C++11 Some of the diagnostics controlled by this flag are enabled by default.Īlso controls -Wc++11-compat-deprecated-writable-strings, -Wc++11-compat-reserved-user-defined-literal, -Wc++11-narrowing, -Wpre-c++14-compat, -Wpre-c++17-compat, -Wpre-c++20-compat, -Wpre-c++23-compat.ĭiagnostic text: warning: integer literal is too large to be represented in type ‘long’ and is subject to undefined behavior under C++98, interpreting as ‘unsigned long’ this literal will Warning: availability does not match previous declaration Warning: use same version number separators ‘_’ or ‘.’ as in ‘major]’ Warning: unknown platform A in availability macro Warning: only ‘unavailable’ and ‘deprecated’ are supported for Swift availability Warning: Fuchsia API Level prohibits specifying a minor or sub-minor version Diagnostic text: warning: ‘unavailable’ availability overrides all other availability information
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |