Boost logo

Boost :

From: Frank Perbet (frank.perbet_at_[hidden])
Date: 2001-10-22 12:12:53

> because CC told me:
> cc-1407 CC: ERROR File = cpp_regex_traits.cpp, Line = 566
> The type qualifiers are dropped in binding the reference of type
> "std::string &" to an initializer of type "const std::string".
> std::messages<wchar_t>::catalog cat =
> regex_message_catalogue.size() ?, l) :
> -1;


I don't know the version number of my stl library. I work on a one year
old SGI 02 (IRIX 6.5).
I found this line in /usr/include/CC/stl_messages_facets.h:

inline catalog open(string& __fn, const locale& __loc) const
    { return do_open(__fn, __loc); }

The error seems to be justified:
regex_message_catalogue -> const std::string&
                   __fn -> std::string&

Thank you,

Frank Perbet

Boost list run by bdawes at, gregod at, cpdaniel at, john at