gcc 2.91 vs. gcc 2.96

Srinivas V. srini@CS.Arizona.EDU
Fri May 24 17:06:00 GMT 2002


Hello

I have been trying to compile the suif1 library on my machine which has
gcc 2.96. Others have been able to compile the same thing on a different
machine which runs gcc 2.91. i get the following g++ errors during the
compilation:

fileset.cc: In method `file_set_entry::file_set_entry (file_set *, char
*, char *)':
fileset.cc:312: no matching function for call to
`file_symtab::file_symtab (const char *, file_set_entry *const)'
symtab.h:239: candidates are: file_symtab::file_symtab (char *,
file_set_entry *) <near match>
symtab.h:245:                 file_symtab::file_symtab (const
file_symtab &)


The only difference, I could see, between the function being looked for
and the "near match" candidate is the "const" specfier. Is gcc 2.96 more
strict about types that gcc 2.91 ??

  thanx

   srinivas




More information about the Gcc-help mailing list