Author: tkrasnukha
Date: Mon Apr  9 10:32:56 2018
New Revision: 329597

URL: http://llvm.org/viewvc/llvm-project?rev=329597&view=rev
Log:
Fix compilation error caused by tgmath.h.

On CentOS calling functions from <tgmath.h> produces multiple errors "'void*' 
is not a pointer-to-object type".

Modified:
    lldb/trunk/lit/Expr/Inputs/anonymous-struct.cpp

Modified: lldb/trunk/lit/Expr/Inputs/anonymous-struct.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/Expr/Inputs/anonymous-struct.cpp?rev=329597&r1=329596&r2=329597&view=diff
==============================================================================
--- lldb/trunk/lit/Expr/Inputs/anonymous-struct.cpp (original)
+++ lldb/trunk/lit/Expr/Inputs/anonymous-struct.cpp Mon Apr  9 10:32:56 2018
@@ -1,4 +1,4 @@
-#include <tgmath.h>
+#include <cmath>
 
 typedef struct {
     float f;


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to