This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 2.91 vs. gcc 2.96
- From: "Srinivas V." <srini at CS dot Arizona dot EDU>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 24 May 2002 17:06:26 -0700 (MST)
- Subject: gcc 2.91 vs. gcc 2.96
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