This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 112c. See for the official list.


2190. Insufficient specification of __has_include

Section: 15.2  [cpp.cond]     Status: open     Submitter: Hubert Tong     Date: 2015-10-24

The following example ought to be well-formed, but the standard is insufficiently clear:

  #define X <ciso646> )

  #if __has_include( X && ( defined(X) )

Also, there is insufficient prohibition for the formation of __has_include by token pasting when performing macro replacement for the controlling expression of a conditional inclusion.