Issue: CMPLX is not defined
Pavel M <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CAL9Mx1sD_=5h2uTDwoFq-XRvU1SyB0qnzEU8uZ4pp_waNyjOdA@mail.gmail.com> |
Hi all,
Issue: CMPLX is not defined.
$ cat t649.c
#if __STDC_NO_COMPLEX__ != 1
#include <complex.h>
#ifndef CMPLX
#error
#endif
#endif
$ gcc t649.c -std=c11 -pedantic -Wall -Wextra
t649.c:4:2: error: #error
4 | #error
| ^~~~~
C11:
> 7.3.9.3 The CMPLX macros
Please fix.