Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-05-17 05:22:45


The following patches get Boost.Program Options compiling with Borland C++
5.6.4 (it's enough to fix the regex grep test program which was what I
wanted). Is it OK to apply these? I can't see how they would cause
problems with other compilers: in fact I'm not at all clear how "cmdline"
was ever found without the qualifier on other compilers.

I haven't looked at the runtime test failures with this compiler yet (has
anyone?),

Regards, John.

RCS file: /cvsroot/boost/boost/boost/program_options/detail/parsers.hpp,v
retrieving revision 1.7
diff -r1.7 parsers.hpp
31c31
< : cmdline(to_internal(args))

---
>        : detail::cmdline(to_internal(args))
38c38
<     : cmdline(
---
>     : detail::cmdline(
49c49
<         cmdline::set_options_description(desc);
---
>        detail::cmdline::set_options_description(desc);
59c59
<         cmdline::set_positional_options(desc);
---
>         detail::cmdline::set_positional_options(desc);
67c67
<         cmdline::style(style);
---
>         detail::cmdline::style(style);
75c75
<         cmdline::set_additional_parser(ext);
---
>         detail::cmdline::set_additional_parser(ext);
84c84
<         result.options = cmdline::run();
---
>         result.options = detail::cmdline::run(); 

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