[llvm-bugs] [Bug 46800] New: CMPLXL() missing for c2x

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 21 17:33:10 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46800

            Bug ID: 46800
           Summary: CMPLXL() missing for c2x
           Product: clang
           Version: 10.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tydeman at tybor.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Trying to use CMPLX(), CMPLXF(), and CMPLXL() in clang 10 with -std=c2x gets an
error message saying that they are invalid in C99.  It looks to me that
/usr/include/complex.h only defines those macros for -std=c11.

-- 
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/20200722/655d2fb8/attachment.html>


More information about the llvm-bugs mailing list