https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71930
--- Comment #2 from Jeffrey Walton <noloader at gmail dot com> --- (In reply to Jakub Jelinek from comment #1) > What makes you think that this is a bug? I think its a bug (1) g++ is being used, and (2) -std=c++17 is being used. What does a file extension have to do with a C++ define, like __cplusplus?