https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103355
Bug ID: 103355 Summary: libcpp/lex.c:1289:9: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-extensions] Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: mpolacek at gcc dot gnu.org Target Milestone: --- Right now, we require for building of GCC ISO C++11 compiler. However, [[likely]] and [[unlikely]] come from C++20, or?