[LLVMbugs] [Bug 18327] New: Compile errors when activating -Wsystem-headers

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 26 10:37:29 PST 2013


            Bug ID: 18327
           Summary: Compile errors when activating -Wsystem-headers
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dwiberg at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I get errors instead of warnings when -Wsystem-headers are enabled.

#include <cmath>

int main(int argc, char *argv[])
  return 0;

Compile command:
clang++ -std=c++11 -Wall -Wsystem-headers test.cpp

Output (I get a bunch of the same kind):
error: constexpr function never produces a constant expression
  exp(long double __x)

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/20131226/9b37cea4/attachment.html>

More information about the llvm-bugs mailing list