- May 13, 2003
- 13,704
- 7
- 81
I have a piece of code that is part of a larger project, and it compiles in Windows just fine (using Bloodshed Dev C++). When I try to compile it in linux, it doesn't work. In Ubuntu, I get an "song.h:66: error: extra qualification 'song::' on member 'operator==' for each of the operators I'm trying to overload in the song class.
In the universities linux environment (either CentOS or RedHat--going to command line from SSH Secure File Transfer Client), it compiles fine, but segment faults when the sort is trying to run (once again back to the overload operator of the Song class).
Yes, this is for class, and the professor isn't sure why this is happening either.
I have my source files for the Song class (song.cpp & song.h) here.
The closest I have found in something relating to this is the 'extra qualification of members' on this page.
Anyone have any idea?
In the universities linux environment (either CentOS or RedHat--going to command line from SSH Secure File Transfer Client), it compiles fine, but segment faults when the sort is trying to run (once again back to the overload operator of the Song class).
Yes, this is for class, and the professor isn't sure why this is happening either.
I have my source files for the Song class (song.cpp & song.h) here.
The closest I have found in something relating to this is the 'extra qualification of members' on this page.
Anyone have any idea?
