Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- g++ src/AudioInterface.cpp -c -Iinclude -Wall -g -DDEBUG -ggdb -o build/debug/64bit/windows/mingw/AudioInterface.o
- In file included from include/Sound.hpp:7:0,
- from include/AudioInterface.hpp:7,
- from src/AudioInterface.cpp:1:
- include/SoundData.hpp:19:3: error: 'uint16_t' does not name a type
- uint16_t numInstances; // The number of instances (Sounds) of this SoundData
- ^
- include/SoundData.hpp:22:28: error: 'uint16_t' has not been declared
- SoundData(std::string n, uint16_t* d): name(n) {}
- ^
- include/SoundData.hpp:27:9: error: 'uint16_t' does not name a type
- const uint16_t getNextUID(); // Gets the next up UID (from the number of instances)
- ^
- In file included from include/AudioInterface.hpp:7:0,
- from src/AudioInterface.cpp:1:
- include/Sound.hpp:20:3: error: 'uint16_t' does not name a type
- uint16_t uid; // The UID of this Sound
- ^
- include/Sound.hpp: In constructor 'Module::Sound::Sound(Module::SoundData*)':
- include/Sound.hpp:25:25: error: class 'Module::Sound' does not have any field named 'uid'
- Sound(SoundData* sd): uid(sd->getNextUID()), soundData(sd) {}
- ^
- include/Sound.hpp:25:33: error: 'class Module::SoundData' has no member named 'getNextUID'
- Sound(SoundData* sd): uid(sd->getNextUID()), soundData(sd) {}
- ^
- In file included from src/AudioInterface.cpp:1:0:
- include/AudioInterface.hpp: At global scope:
- include/AudioInterface.hpp:27:41: error: 'uint16_t' has not been declared
- SoundData* loadSoundData(std::string, uint16_t*); // Loads SoundData
- ^
- src/AudioInterface.cpp: In member function 'Module::Sound* Module::AudioInterface::playSound(Module::SoundData*)':
- src/AudioInterface.cpp:14:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- src/AudioInterface.cpp: At global scope:
- src/AudioInterface.cpp:15:76: error: 'uint16_t' has not been declared
- Module::SoundData* Module::AudioInterface::loadSoundData(std::string name, uint16_t* data)
- ^
- make: *** [build/debug/64bit/windows/mingw/AudioInterface.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement