This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115e. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-11-11


1889. Unclear effect of #pragma on conformance

Section: 15.9  [cpp.pragma]     Status: drafting     Submitter: James Widman     Date: 2014-03-05

According to 15.9 [cpp.pragma] paragraph 1, the effect of a #pragma is to cause

the implementation to behave in an implementation-defined manner. The behavior might cause translation to fail or cause the translator or the resulting program to behave in a non-conforming manner.

It should be clarified that the extent of the non-conformance is limited to the implementation-defined behavior.