Created on 2016-11-29.00:00:00 last changed 90 months ago
Proposed resolution:
This wording is relative to N4618.
Edit [depr.c.headers] as indicated:
[…]
-2- The use of any of the C++ headers […] is deprecated. -3- The header <complex.h> behaves as if it simply includes the header <ccomplex>. The header <tgmath.h> behaves as if it simply includes the header <ctgmath>. -4- Every other C header, […]
[ 2017-01-27 Telecon ]
Priority 0
The resolution of LWG 2536 touches on the specification of C headers (of the form foo.h), but while it fixes the specification of complex.h, it fails to address the specification of tgmath.h.
Just like complex.h, tgmath.h is not defined by C. Rather, our tgmath.h behaves like <ctgmath>, which is specified in [ctgmath.syn]. Suggested resolution: Amend [depr.c.headers] p3 as follows:3. The header <complex.h> behaves as if it simply includes the header <ccomplex>. The header <tgmath.h> behaves as if it simply includes the header <ctgmath>.
4. Every other C header […]
See also LWG 2828.
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:15:43 | admin | set | status: wp -> c++17 |
2017-03-05 23:41:16 | admin | set | status: ready -> wp |
2017-01-30 15:17:53 | admin | set | messages: + msg8810 |
2017-01-30 15:17:53 | admin | set | status: new -> ready |
2016-12-14 19:40:45 | admin | set | messages: + msg8718 |
2016-11-29 00:00:00 | admin | create |