| re: map<string,set<strin> > compilation problem
Marcelo Pinto wrote:[color=blue]
> "Victor Bazarov" <v.Abazarov@comAcast.net> wrote in message news:<6BiLc.128796$a24.30465@attbi_s03>...
>[color=green]
>>Try the usual typedef workaround:
>>
>> typedef std::string str;
>> typedef std::set<str> strset;
>> typedef std::map<str, strset> strsetmap;
>>
>>and then
>>
>> strsetmap m_files;
>>
>>HTH
>>
>>Victor[/color]
>
>
> I tryed your sugestion and it didn't work.
> [OT]
> Then I realized that if I didn't use the -g option the source get
> compiled just fine.
>
> Are you aware of the reason why this is so?[/color]
No, nor is it topical to comp.lang.c++. Try a newsgroup for your
compiler. Compiler options, name mangling, format of object files,
and so on, are not language-defined.
If there is no newsgroup that deals with your compiler, try the one
that deals with your OS. If none exists, try the technical support
for your compiler or/and OS.
V |