Re: Problems on Fedora Core 4

2005-07-20 Thread Kevin Handy
Michael Gatford wrote: We compile the following code with gcc (historically 2.95.3, egcs-2.91.66 or VC5/6 on Windows). std::map quickfindtag; Shouldn't 'string' be 'std::string' also? I have just installed Fedora Core 4 and am trying to compile it with gcc 4.0.0 (Redhat 4.0.0-8). Howeve

Re: Problems on Fedora Core 4

2005-07-20 Thread chris jefferson
This is not the correct mailing list for help using gcc, it is for help developing gcc. Use gcc-help in future please. Michael Gatford wrote: > > >std::map::const_iterator functionIterator = > quickfindtag.find(funcname); put "typename" at the beginning of this line. Chris

Re: Problems on Fedora Core 4

2005-07-20 Thread Giovanni Bajo
Michael Gatford <[EMAIL PROTECTED]> wrote: > std::map::const_iterator functionIterator = > quickfindtag.find(funcname); It's missing a typename keyword here: typename std::map::const_iterator functionIterator = See: http://gcc.gnu.org/gcc-3.4/changes.html, C++ section. -- Giovanni Baj