Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-06-17 07:36:14


Janusz Piwowarski wrote:
> Vladimir Prus wrote:
> [...]
>
> > I have only one question: why do we need the following:
> >
> > - to_internal(detail::make_vector(argv+1, argv+argc)))
> > + to_internal(detail::make_vector<charT, charT**>(argv+1,
>
> argv+argc)))
>
> > Is it a bug in mingw's gcc?
>
> I've got errors like:
>
> D:/sources/boost/boost/program_options/detail/parsers.hpp: In constructor
> `boost::program_options::basic_command_line_parser<charT>::basic_command_li
>n e_parser(int, charT**) [with charT = char]':
> ../../../libs/program_options/example/multiple_sources.cpp:72:
> instantiated from here
> D:/sources/boost/boost/program_options/detail/parsers.hpp:40: error: no
> matching function for call to `make_vector(char**, char**)'

Ok, looks like a bug in your gcc version (that's 3.3.1 right? I don't get
problems with 3.3.3 or 3.3.4). Portable libraries are fun ;-)

I've comitted your patch. Thanks for making the library work on yet another
platform/compiler!

- Volodya


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