Public bug reported:
Binary package hint: gcc-4.2
Package: depot gcc/g++ package in apt-get
Description: Ubuntu 8.04.1
Release: 8.04
g++ output
/
Hashing.cc:60: erreur: redefinition of «void
Hashing::modifierPersonne(std::string, std::string, std::string, std::string)»
Hashing.cc:52: erreur: «void Hashing::modifierPersonne(std::string,
std::string, std::string, std::string)» previously defined here
Hashing.cc:62: embrouillé par les erreurs précédentes, abandon
\
compiler found 2 ambiguous methods with the same code at beginning. Is
it the problem?
code:
void Hashing::modifierPersonne( string nom, string prenom, string nv_nom,
string nv_prenom )
{
int index = calculerIndex( nom, prenom ); is it the double
same method the problem?
....
....
}
void Hashing::modifierPersonne( string nom, string prenom, string nv_adresse,
string nv_tel )
{
int index = calculerIndex( nom, prenom ); is it the double
same method the problem?
....
....
}
ProblemType: Crash
Architecture: i386
Date: Sun Jan 11 00:15:00 2009
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/lib/gcc/i486-linux-gnu/4.2.4/cc1plus
Package: g++-4.2 4.2.4-1ubuntu3
PackageArchitecture: i386
SourcePackage: gcc-4.2
Uname: Linux 2.6.24-23-generic i686
** Affects: gcc-4.2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-crash
--
c1plus crash on double method definition
https://bugs.launchpad.net/bugs/315948
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs