Boost logo

Boost :

From: rogeeff (rogeeff_at_[hidden])
Date: 2002-01-23 21:09:27


--- In boost_at_y..., Samuel Krempp <krempp_at_c...> wrote:
> On Mon, 2002-01-21 at 09:55, rogeeff wrote:
> > PART 1. MSVC compilation and testing
> >
> > I was able to compile format library unver MSVC6SP5 with STLPort
4.5.
> > I was forced to make several modifications to the code to do so.
>
> I think I fixed all the causes of trouble for MSVC you had described
> (using BOOST_NO_CV_SPECIALIZATIONS and
BOOST_NO_MEMBER_TEMPLATE_FRIENDS
> from boost/config.hpp )

You misused BOOST_NO_CV_SPECIALIZATIONS. It does not fit here.

[...]
>
> Particularly, I'm not sure the
> friend std::basic_ostream<Ch, Tr>&
> operator<< <Ch, Tr> ( std::basic_ostream<Ch, Tr>& , const
basic_format&
> );
> is accepted by VC++. (I replaced '<>' by '<Ch, Tr>')
> If this still does not work, I'll have to use #ifdef and write a
special
> case without any '< .. >' for MSVC)

Nope. You will need to ifdef.

>
> regards,
> --
> Samuel

This time it was even tougher. Major isuue!!! MSVC can't resolve %
manip(..). Ambiguity. So I was not able to compile everything.

Couple more issues:
1. str still need to be fully qualified.
2. _fwd header should not contain any internals.
3. include return 0 in all your main() bodies.
4. include != 0 where you implicitely cast from int to bool.
5. I still does not work properly
For example, here an output of simple_userType
[+ 16/9]
[+00016/9]
[000+16/9]
simple_formats (only beggining till assert):
writing toto, x=+40.2300 : +50-th step
o oo O oo o
+23-th step, x=+ 0.0675, delta=+ 30.3450 : Nothing yet
Assertion failed: s == " 11 22 ":...

I uploaded fixed version in vault area under format2 directory.
Compare and you will see all my changes. Let me know when you done
and I will remove it.

Gennadiy.


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