Boost logo

Boost Testing :

From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2005-05-10 04:55:06


 
Markus Schöpflin wrote:

> I just stumbled accross one explanation for false results in
> the regression run pages.
>
> Currently, wave is marked as success on Tru64/CXX, but wave
> fails to build because of some issues with program_options.
>
> Here is an excerpt from the build log:
[snip]
> cxx: Error: ../libs/wave/test/build/../testwave/testwave.cpp,
> line 82: #304 no
> instance of function template
> "boost::program_options::parse_command_line"
> matches the argument
> list
> argument types are: (int, char **,
>
> boost::program_options::options_description, int,
> std::pair<std::string, std::string> (const
> std::string &)
> )
> po::parsed_options opts(po::parse_command_line(argc, argv,

I don't understand this one.

The arguments are:
    int,
    char **,
    options_description,
    int,
    std::pair<std::string, std::string> (const std::string &)

And the expected argument list is:
    int,
    char const*[],
    options_description const&,
    int,
    function1<std::pair<std::string, std::string>, const std::string &>

And I don't see any reason for the compiler to fail the instantiation. But
probably I'm wrong here (as always when I disagree with my compiler ;-) Any
hints?

Regards Hartmut


Boost-testing list run by mbergal at meta-comm.com