Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2006-10-24 10:11:13

Patches item #1583396, was opened at 2006-10-24 10:16
Message generated for change (Comment added) made by mloskot
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michael Fink (vividos)
Assigned to: Nobody/Anonymous (nobody)
Summary: [mpl] evc4 port

Initial Comment:
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<0>' 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 '<'
or.hpp(41) : error C2059: syntax error : '<'
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<true> and and_impl<true> 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


Comment By: Mateusz Loskot (mloskot)
Date: 2006-10-24 16:11

Logged In: YES

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


You can respond by visiting:

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at