[cfe-dev] clang r163717 (right now) not buildable? (asan_report.cc:282)
sean at rogue-research.com
Thu Sep 13 10:03:19 PDT 2012
On Thu, 13 Sep 2012 14:20:01 +0400, Alexey Samsonov said:
>Yeah, the problem is that old Clang (3.0 is also considered "old" here)
>incorrectly produces -Winvalid-noreturn
>if a function has local variable with noreturn destructor.
>Yesterday we've added -Werror to default compile flags for AddressSanitizer
>runtime, so your build breaks there.
>Probably it's not the best idea: as David mentions, developers may use
>different compilers. We may break many
>of them if their weird (or old) compiler produces any kind of warning in
>ASan code. I'm removing -Werror now.
Confirmed fixed. I can now build r163806 with Xcode 4.4.1's clang.
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the cfe-dev