r239684 - Don't use std::errc.

James Y Knight jyknight at google.com
Sat Jun 13 17:21:29 PDT 2015


On Jun 13, 2015, at 1:23 PM, Rafael Espindola <rafael.espindola at gmail.com> wrote:
> And on some libstdc++ those virtual functions conclude that
> 
> ------------------------
> int main() {
>  std::error_code foo = std::make_error_code(std::errc::no_such_file_or_directory);
>  return foo == std::errc::no_such_file_or_directory;
> }
> -------------------------
> 
> should exit with 0.

This is GCC "RESOLVED INVALID" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66438 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66438>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150613/e946675f/attachment.html>


More information about the cfe-commits mailing list