[llvm-bugs] [Bug 35886] Inconsistent narrowing errors
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jan 10 13:52:13 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=35886
Eli Friedman <efriedma at codeaurora.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |efriedma at codeaurora.org
Resolution|--- |INVALID
--- Comment #1 from Eli Friedman <efriedma at codeaurora.org> ---
> It appears that clang 6.0 imported into freebsd base is forcing c++11-narrowing warnings to be treated as an error were earlier releases don't.
>From the release notes:
Clang’s default C++ dialect is now gnu++14 instead of gnu++98. This means Clang
will by default accept code using features from C++14 and conforming GNU
extensions. Projects incompatible with C++14 can add -std=gnu++98 to their
build settings to restore the previous behaviour.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180110/91996475/attachment.html>
More information about the llvm-bugs
mailing list