efriedma-quic wrote:

@tstellar Yes, the error message there looks correct.  The simplest fix for 
most code is to use a fixed-width enum (`enum : int { kUnknown = 3, kMaxValue = 
kUnknown };`).

gcc doesn't currently diagnose such conversions.

https://github.com/llvm/llvm-project/pull/143034
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to