Any ideas on the way forward, Jean-Marc? Everything works fine with
std::string, but with lyxstring I get a whole pile of errors
Angus
cxx -std strict_ansi -nocleanup -DHAVE_CONFIG_H -I. -I. -I../../src cxx -std
strict_ansi -nocleanup -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images
-I./../ -I../../src/cheaders -I/usr/local/include -ptr
/usr/users/aleem/OTHERS_CODE/lyx/1.1.5fix1/lyx_cxx_repository -O2 -c
formulamacro.C -o formulamacro.o
cxx: Error: /usr/include/cxx/locimpl, line 289: "string" is ambiguous
vector<string,allocator<void> > names_;
---------^
cxx: Error: /usr/include/cxx/locimpl, line 292: "string" is ambiguous
string big_name_;
--^
cxx: Error: /usr/include/cxx/locimpl, line 307: "string" is ambiguous
static bool parse_name (vector<string,allocator<void> >&,const char*);
---------------------------------^
cxx: Error: /usr/include/cxx/locimpl, line 309: "string" is ambiguous
static bool build_name (string&,const vector<string,allocator<void> >&);
--------------------------^
cxx: Error: /usr/include/cxx/locimpl, line 309: "string" is ambiguous
static bool build_name (string&,const vector<string,allocator<void> >&);
-----------------------------------------------^
cxx: Error: /usr/include/cxx/locimpl, line 554: "string" is ambiguous
string gr_;
--^
cxx: Error: /usr/include/cxx/locimpl, line 554: "string" is ambiguous
detected during:
instantiation of class
"__rwstd::punct_data<charT> [with charT=char]" at line
594
instantiation of class
"__rwstd::numpunct_data<charT> [with charT=char]" at
line 659
string gr_;
--^
cxx: Error: /usr/include/cxx/locimpl, line 554: "string" is ambiguous
detected during:
instantiation of class
"__rwstd::punct_data<charT> [with charT=wchar_t]" at
line 594
instantiation of class
"__rwstd::numpunct_data<charT> [with charT=wchar_t]" at
line 675
string gr_;
--^
cxx: Error: /usr/include/cxx/locimpl, line 926: "string" is ambiguous
string loc_name_;
--^
cxx: Error: /usr/include/cxx/locimpl, line 928: "string" is ambiguous
_RWSTD_IMP_DECL(messages_impl) (string name);
----------------------------------^
cxx: Error: /usr/include/cxx/locimpl, line 930: "string" is ambiguous
messages_base::catalog open_cat_ (const string &,const locale &) const;
------------------------------------------^
cxx: Error: /usr/include/cxx/locimpl, line 934: "string" is ambiguous
static string get_loc_name_ (const char*);
---------^
cxx: Info: 12 errors detected in the compilation of "formulamacro.C".