Boost logo

Boost :

From: Chris Little (cslittle_at_[hidden])
Date: 2000-11-28 15:11:23


CW6 is actually complaining about size_t not being defined. If you change
it to std::size_t then that part compiles. You need to cascade this change
through a number of files.

There more missing std::'s according to CW6.

In regex_compile.hpp there are two calls to memcmp.

In c_regex_traits.cpp there are calls to isspace, strxfrm and some more
size_t's.

In fileiter.hpp the FILE in class mapfile needs one.

In fileiter.cpp, the function the FILE parameter to get_file_length needs
one.

I also had to comment out the include of dirent.h in fileiter.hpp because
CW6 doesn't have this. Unfortunately that means that the most of the cost
in fileiter.cpp won't compile. I'm not sure what the solution for this is,
encourage Deitmar to finish the dir_it code and switch to that.

One other fix, in regex_test.cpp, there is a line

template class sub_match<ra_it>;

sub_match is actually a templated struct so it should read

template struct sub_match<ra_it>;

Chris

> -----Original Message-----
> From: Howard Hinnant [mailto:hinnant_at_[hidden]]
> Sent: Tuesday, November 28, 2000 2:02 PM
> To: boost_at_[hidden]
> Subject: Re: [boost] Please add: Mac Compiler Status
>
>
> Beman Dawes wrote on 11/28/2000 1:47 PM
>
> >At 04:59 PM 11/28/2000 +0200, starlett wrote:
> >
> > >This is the result of CW6 Mac/Classic MacOS 9.04 test:
> > >
> > >evrything went OK except : "regex_test.cpp" and "wregex_test.cpp".
> > >
> > >Error : declaration syntax error
> > >regex_cstring.hpp line 50 size_t BOOST_RE_CALL
> re_strlen(const charT
> >*s)
> >
> >Try removing the lines (approx line 265) from the Metrowerks
> section of
> >config.hpp which read:
> >
> ># if defined BOOST_DECL_EXPORTS
> ># define BOOST_DECL __declspec(dllexport)
> ># else
> ># define BOOST_DECL __declspec(dllimport)
> ># endif
> >
> >Let me know the result of doing so.
> >
> >My guess is they should only be active for Windows compiles.
> >
> >Howard, or any other CodeWarrior experts, is WIN32 the
> correct symbol to be
> >checking for?
>
> The __declspec stuff works on the Mac side too. We're using
> them for the
> shared versions of MSL in Pro 6.
>
> -Howard
>
>
>



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