http://llvm.org/bugs/show_bug.cgi?id=6646

           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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to