Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2003-09-04 10:28:16


Vladimir Prus wrote

>1. When I run "bjam" in "examples", I see:

>don't know how to make <libs!serialization!example>demo_mi.cpp
>don't know how to make <libs!serialization!example>demo_unregistered_ptrs.cpp

I moved these demos over to tests and forgot to update the jamfile.

>2. Later, I get compile errors, with g++ 3.3 on Linux. Illustration of the problem

I've come to realize that making this work with all the compilers is going to be
a hellish effort. Finding a common subset of C++ that would compile under
both gcc and msvc 7.0 was a lot of effort. Hopefully that will be a lot of it.

>class C {
>public:
> explicit C(int) {}
>};

>int main()
>{
> int i = 0;
> static_cast<C>(i);
> return 0;
>}

>Does not work with 3.3. Works with 3.2. Works with 3.3 if "explicit" is
>removed. I'd say it's a gcc regression, so I went ahead and filed
>http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12163

Having had other instances of this sort, I would guess you'll get
a response like "the new behaviour is required by the standard
paragram 123.12321.1234 a) " . So my inclination is to check
all the cases where I've used the above. I'll look into this.

I have as yet not been able to get this whole thing to build and
test on any system other than MSVC 7.0. I've used gcc on
cygwin to compile all the code. But cygwin gcc doesn't support
wide char i/o so I can't test that. Also I have a very wierd error
when I try to link any of the xml tests which I have so far been
unable to resolve. I've started to try to work with Comeau but
am having problems with that also.

I would very much like to hear from someone who has been able
to build and test on other platforms.

Robert Ramey


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