#77139 - CyberSlag5k - Tue Mar 28, 2006 5:00 pm
I've split my project into separate files so that I may compile my interrupt request handler in ARM mode, rather than thumb. As such, I have included gba.h in both files. However when I go to link everything together, I am getting multiple definition errors for stuff like OBJPaletteMem and OAMData.
I don't absolutely need to have gba.h included in my interrupt handling file, but is it possible to include the file in both of my files and not have redefinition problems?
Thanks in advance!
_________________
When you find yourself in the company of a halfling and an ill-tempered Dragon, remember, you do not have to outrun the Dragon...
I don't absolutely need to have gba.h included in my interrupt handling file, but is it possible to include the file in both of my files and not have redefinition problems?
Thanks in advance!
_________________
When you find yourself in the company of a halfling and an ill-tempered Dragon, remember, you do not have to outrun the Dragon...