Boost C++ Libraries: Ticket #761: [mpl] evc4 port https://svn.boost.org/trac10/ticket/761 <pre class="wiki">Hi, I'm trying to port Boost 1.34 CVS to the eMbedded Visual C++ 4 compiler. In many projects there are compiler errors that lead back to MPL header files located in boost\mpl\aux_\preprocessed\msvc60\, or.hpp and and.hpp. They produce the following errors (example for or.hpp): or.hpp(41) : error C2908: explicit specialization; 'or_impl&lt;0&gt;' has already been instantiated from the primary template or.hpp(41) : error C2039: 'result_' : is not a member of '`global namespace'' or.hpp(41) : error C2143: syntax error : missing ';' before '&lt;' or.hpp(41) : error C2059: syntax error : '&lt;' or.hpp(43) : error C2143: syntax error : missing ';' before '{' or.hpp(43) : error C2447: missing function header (old-style formal list?) The following patch would add the necessary specialisation for or_impl&lt;true&gt; and and_impl&lt;true&gt; to the struct definition directly, and only for the evc4 compiler (msvc8 with ARM target wouldn't use the alternative code). As I guess from the folders name the files are auto-generated. If the patch is rejected, is there a possibility to generate the proper code for the evc4-compiler? </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/761 Trac 1.4.3 Mateusz Loskot Tue, 24 Oct 2006 14:11:13 GMT <link>https://svn.boost.org/trac10/ticket/761#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/761#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=736047 The eVC++ 4.0 compiler is based on Visual C++ 6.0, so templates support is weak. Theoretically, is it feasible to build MPL using these compiler at all? Mateusz Loskot </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Daryle Walker</dc:creator> <pubDate>Fri, 03 Aug 2007 12:14:33 GMT</pubDate> <title>component changed; severity set https://svn.boost.org/trac10/ticket/761#comment:2 https://svn.boost.org/trac10/ticket/761#comment:2 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">mpl</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Problem</span> </li> </ul> Ticket Marshall Clow Sat, 27 Nov 2010 16:57:31 GMT status, resolution, description changed https://svn.boost.org/trac10/ticket/761#comment:3 https://svn.boost.org/trac10/ticket/761#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">wontfix</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/761?action=diff&amp;version=3">diff</a>) </li> </ul> <p> Since we do not have a test setup for this compiler (no volunteers) and this ticket is four years old, I am closing it. </p> Ticket