[PATCH] D154782: [NFC] Fix builds on recent GCC with C++20 enabled

Jonas Hahnfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 11:40:07 PDT 2023


Hahnfeld added a comment.

Thanks for fixing it! I also discovered it today... I think this is according to the standard: https://eel.is/c++draft/diff.cpp17.class#2 I guess Clang should warn about this; and GCC's error message isn't helpful at all (since version 11 btw)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154782/new/

https://reviews.llvm.org/D154782



More information about the llvm-commits mailing list