Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Strange redefinition error

Name: Anonymous 2009-03-26 18:49

For some reason I'm getting the following errors:
"redefinition of 'class TsuPod'" on line 19 of tsuPod.cpp
"previous definition of 'class TsuPod'" on line 21 of tsuPod.h

I don't know why I'm getting this error, since I've put header guards in my header files. I'm obviously doing something wrong, but I can't think of what it is. Can you guys help me out?

The files can be found at the following pastebin URLs:
http://pastebin.com/d20e4c6ca
http://pastebin.com/d53fae205
http://pastebin.com/d45cfd9b9
http://pastebin.com/d5829586f
http://pastebin.com/d192e7e4

Name: Anonymous 2009-03-26 19:20

>>5
Why did having the declarations like that in song.h not cause a problem then? Although your solution works, I'm just trying to understand what's going on.

Anyway, now that I'm using the file you pointed me to, I found some more errors. I was able to fix all but one. The new file can be found here: http://pastebin.com/d2f9dcd38

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List