[PATCH] D23831: [libcxx] Fix gcc 4.9 -Wcast-qual warning.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 30 03:04:14 PDT 2016


EricWF added a comment.

The reason I'm dragging my feet on this patch is I'm not sure the two formulations are *exactly* equivalent. I need to re-read the standard to be sure.

What's the motivation for fixing a warning which libc++ never tests against? Normally the headers are treated as system headers so all warnings are ignored.


https://reviews.llvm.org/D23831





More information about the cfe-commits mailing list