[LLVMbugs] [Bug 6646] New: conftest for libm symbols fail under c++

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 18 06:03:26 PDT 2010


           Summary: conftest for libm symbols fail under c++
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: jed at 59a2.org
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

This is a reduced conftest.cpp (generated by another projects autoconf) testing
for pow.  The same occurs for other libm symbols.  Clang r98819:

$ cat conftest-reduced.cpp
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
extern "C" char pow ();
int main ()
  return pow ();
$ clang++ -c -v conftest-reduced.cpp >& log.compile

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list