Boost C++ Libraries: Ticket #1030: execution_monitor.ipp #warning directive breaks compilation on MSVC 8.0 https://svn.boost.org/trac10/ticket/1030 <p> This problem is occuring in CVS HEAD using MSVC 8.0: </p> <p> In execution_monitor.ipp, the line: </p> <p> # warning Debugger check disabled. Either define _WIN32_WINNT or include Boost.Test header in front of winbase.h </p> <p> breaks compilation with </p> <p> boost/test/impl/execution_monitor.ipp(60) : fatal error C1021: invalid preprocessor command 'warning' </p> <p> On MSVC, the following would work instead: </p> <p> # pragma message("Warning: Debugger check disabled. Either define _WIN32_WINNT or include Boost.Test header in front of winbase.h") </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1030 Trac 1.4.3 Dave Abrahams Tue, 03 Jul 2007 15:27:38 GMT owner set https://svn.boost.org/trac10/ticket/1030#comment:1 https://svn.boost.org/trac10/ticket/1030#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Gennadiy Rozental</span> </li> </ul> Ticket Gennadiy Rozental Sun, 14 Oct 2007 20:15:47 GMT <link>https://svn.boost.org/trac10/ticket/1030#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1030#comment:2</guid> <description> <p> fixed </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Gennadiy Rozental</dc:creator> <pubDate>Fri, 02 Nov 2007 23:49:39 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1030#comment:3 https://svn.boost.org/trac10/ticket/1030#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket