This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]