Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2007-01-10 20:09:15


Patches item #1583396, was opened at 2006-10-24 03:16
Message generated for change (Settings changed) made by david_abrahams
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1583396&group_id=7586

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: Aleksey Gurtovoy (agurtovoy)
Summary: [mpl] evc4 port

Initial Comment:
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<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
evc4-compiler?

----------------------------------------------------------------------

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

Message:
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

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1583396&group_id=7586

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk