Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from SDL_syscdrom.c:31:
- In file included from ./SDL_syscdrom_c.h:131:
- ./../SDL_syscdrom.h:103:15: error: redefinition of 'CDcaps'
- extern struct CDcaps {
- ^
- ./../SDL_syscdrom.h:27:15: note: previous definition is here
- extern struct CDcaps {
- ^
- ./../SDL_syscdrom.h:138:3: error: redeclaration of 'SDL_CDcaps' with a different
- type: 'struct (anonymous struct at ./../SDL_syscdrom.h:103:15)' vs
- 'struct CDcaps'
- } SDL_CDcaps;
- ^
- ./../SDL_syscdrom.h:62:3: note: previous declaration is here
- } SDL_CDcaps;
- ^
- SDLOSXCAGuard.c:304:12: error: redefinition of 'SDLOSXCAGuard_Lock'
- static int SDLOSXCAGuard_Lock(SDLOSXCAGuard *cag)
- ^
- SDLOSXCAGuard.c:99:12: note: previous definition is here
- static int SDLOSXCAGuard_Lock(SDLOSXCAGuard *cag)
- ^
- SDLOSXCAGuard.c:320:16: error: redefinition of 'SDLOSXCAGuard_Unlock'
- static void SDLOSXCAGuard_Unlock(SDLOSXCAGuard *cag)
- ^
- SDLOSXCAGuard.c:115:16: note: previous definition is here
- static void SDLOSXCAGuard_Unlock(SDLOSXCAGuard *cag)
- ^
- SDLOSXCAGuard.c:331:12: error: redefinition of 'SDLOSXCAGuard_Try'
- static int SDLOSXCAGuard_Try (SDLOSXCAGuard *cag, int *outWasLocked)
- ^
- SDLOSXCAGuard.c:126:12: note: previous definition is here
- static int SDLOSXCAGuard_Try (SDLOSXCAGuard *cag, int *outWasLocked)
- ^
- SDLOSXCAGuard.c:351:16: error: redefinition of 'SDLOSXCAGuard_Wait'
- static void SDLOSXCAGuard_Wait(SDLOSXCAGuard *cag)
- ^
- SDLOSXCAGuard.c:146:16: note: previous definition is here
- static void SDLOSXCAGuard_Wait(SDLOSXCAGuard *cag)
- ^
- SDLOSXCAGuard.c:364:16: error: redefinition of 'SDLOSXCAGuard_Notify'
- static void SDLOSXCAGuard_Notify(SDLOSXCAGuard *cag)
- ^
- SDLOSXCAGuard.c:159:16: note: previous definition is here
- static void SDLOSXCAGuard_Notify(SDLOSXCAGuard *cag)
- ^
- SDLOSXCAGuard.c:372:16: error: redefinition of 'new_SDLOSXCAGuard'
- SDLOSXCAGuard *new_SDLOSXCAGuard(void)
- ^
- SDLOSXCAGuard.c:167:16: note: previous definition is here
- SDLOSXCAGuard *new_SDLOSXCAGuard(void)
- ^
- SDLOSXCAGuard.c:400:6: error: redefinition of 'delete_SDLOSXCAGuard'
- void delete_SDLOSXCAGuard(SDLOSXCAGuard *cag)
- ^
- SDLOSXCAGuard.c:195:6: note: previous definition is here
- void delete_SDLOSXCAGuard(SDLOSXCAGuard *cag)
- ^
- 7 errors generated.
- make[4]: *** [SDLOSXCAGuard.o] Error 1
- make[4]: *** Waiting for unfinished jobs....
- AudioFilePlayer.c:433:12: error: redefinition of
- 'AudioFilePlayer_SetDestination'
- static int AudioFilePlayer_SetDestination (AudioFilePlayer *afp, AudioUn...
- ^
- AudioFilePlayer.c:68:12: note: previous definition is here
- static int AudioFilePlayer_SetDestination (AudioFilePlayer *afp, AudioUn...
- ^
- AudioFilePlayer.c:470:13: error: redefinition of 'AudioFilePlayer_SetNotifier'
- static void AudioFilePlayer_SetNotifier(AudioFilePlayer *afp, AudioFileP...
- ^
- AudioFilePlayer.c:105:13: note: previous definition is here
- static void AudioFilePlayer_SetNotifier(AudioFilePlayer *afp, AudioFileP...
- ^
- AudioFilePlayer.c:476:12: error: redefinition of 'AudioFilePlayer_IsConnected'
- static int AudioFilePlayer_IsConnected(AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:111:12: note: previous definition is here
- static int AudioFilePlayer_IsConnected(AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:481:18: error: redefinition of 'AudioFilePlayer_GetDestUnit'
- static AudioUnit AudioFilePlayer_GetDestUnit(AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:116:18: note: previous definition is here
- static AudioUnit AudioFilePlayer_GetDestUnit(AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:486:13: error: redefinition of 'AudioFilePlayer_Print'
- static void AudioFilePlayer_Print(AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:121:13: note: previous definition is here
- static void AudioFilePlayer_Print(AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:494:16: error: redefinition of 'AudioFilePlayer_SetStartFrame'
- static void AudioFilePlayer_SetStartFrame (AudioFilePlayer *afp, int frame)
- ^
- AudioFilePlayer.c:129:16: note: previous definition is here
- static void AudioFilePlayer_SetStartFrame (AudioFilePlayer *afp, int frame)
- ^
- AudioFilePlayer.c:503:15: error: redefinition of
- 'AudioFilePlayer_GetCurrentFrame'
- static int AudioFilePlayer_GetCurrentFrame (AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:138:15: note: previous definition is here
- static int AudioFilePlayer_GetCurrentFrame (AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:508:16: error: redefinition of 'AudioFilePlayer_SetStopFrame'
- static void AudioFilePlayer_SetStopFrame (AudioFilePlayer *afp, int frame)
- ^
- AudioFilePlayer.c:143:16: note: previous definition is here
- static void AudioFilePlayer_SetStopFrame (AudioFilePlayer *afp, int frame)
- ^
- AudioFilePlayer.c:515:6: error: redefinition of 'delete_AudioFilePlayer'
- void delete_AudioFilePlayer(AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:150:6: note: previous definition is here
- void delete_AudioFilePlayer(AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:534:15: error: redefinition of 'AudioFilePlayer_Connect'
- static int AudioFilePlayer_Connect(AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:169:15: note: previous definition is here
- static int AudioFilePlayer_Connect(AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:563:16: error: redefinition of
- 'AudioFilePlayer_DoNotification'
- static void AudioFilePlayer_DoNotification (AudioFilePlayer *afp, OSS...
- ^
- AudioFilePlayer.c:198:16: note: previous definition is here
- static void AudioFilePlayer_DoNotification (AudioFilePlayer *afp, OSS...
- ^
- AudioFilePlayer.c:577:16: error: redefinition of 'AudioFilePlayer_Disconnect'
- static void AudioFilePlayer_Disconnect (AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:212:16: note: previous definition is here
- static void AudioFilePlayer_Disconnect (AudioFilePlayer *afp)
- ^
- AudioFilePlayer.c:604:3: error: typedef redefinition with different types
- ('struct SSNDData' vs 'struct SSNDData')
- } SSNDData;
- ^
- AudioFilePlayer.c:239:3: note: previous definition is here
- } SSNDData;
- ^
- AudioFilePlayer.c:606:15: error: redefinition of 'AudioFilePlayer_OpenFile'
- static int AudioFilePlayer_OpenFile (AudioFilePlayer *afp, const FSRe...
- ^
- AudioFilePlayer.c:241:15: note: previous definition is here
- static int AudioFilePlayer_OpenFile (AudioFilePlayer *afp, const FSRe...
- ^
- AudioFilePlayer.c:681:18: error: redefinition of 'new_AudioFilePlayer'
- AudioFilePlayer *new_AudioFilePlayer (const FSRef *inFileRef)
- ^
- AudioFilePlayer.c:316:18: note: previous definition is here
- AudioFilePlayer *new_AudioFilePlayer (const FSRef *inFileRef)
- ^
- 15 errors generated.
- make[4]: *** [AudioFilePlayer.o] Error 1
- AudioFileReaderThread.c:659:16: error: redefinition of 'S_FileData'
- typedef struct S_FileData
- ^
- AudioFileReaderThread.c:43:16: note: previous definition is here
- typedef struct S_FileData
- ^
- AudioFileReaderThread.c:663:3: error: typedef redefinition with different types
- ('struct (anonymous struct at AudioFileReaderThread.c:659:16)' vs
- 'struct S_FileData')
- } FileData;
- ^
- AudioFileReaderThread.c:47:3: note: previous definition is here
- } FileData;
- ^
- AudioFileReaderThread.c:666:16: error: redefinition of 'S_FileReaderThread'
- typedef struct S_FileReaderThread {
- ^
- AudioFileReaderThread.c:50:16: note: previous definition is here
- typedef struct S_FileReaderThread {
- ^
- AudioFileReaderThread.c:691:3: error: typedef redefinition with different types
- ('struct (anonymous struct at AudioFileReaderThread.c:666:16)' vs 'struct
- S_FileReaderThread')
- } FileReaderThread;
- ^
- AudioFileReaderThread.c:75:3: note: previous definition is here
- } FileReaderThread;
- ^
- AudioFileReaderThread.c:694:23: error: redefinition of
- 'FileReaderThread_GetGuard'
- static SDLOSXCAGuard* FileReaderThread_GetGuard(FileReaderThread *frt)
- ^
- AudioFileReaderThread.c:78:23: note: previous definition is here
- static SDLOSXCAGuard* FileReaderThread_GetGuard(FileReaderThread *frt)
- ^
- AudioFileReaderThread.c:700:12: error: redefinition of
- 'FileReaderThread_TryNextRead'
- static int FileReaderThread_TryNextRead (FileReaderThread *frt, AudioFil...
- ^
- AudioFileReaderThread.c:84:12: note: previous definition is here
- static int FileReaderThread_TryNextRead (FileReaderThread *frt, AudioFil...
- ^
- AudioFileReaderThread.c:731:16: error: redefinition of
- 'FileReaderThread_AddReader'
- static void FileReaderThread_AddReader(FileReaderThread *frt)
- ^
- AudioFileReaderThread.c:115:16: note: previous definition is here
- static void FileReaderThread_AddReader(FileReaderThread *frt)
- ^
- AudioFileReaderThread.c:741:16: error: redefinition of
- 'FileReaderThread_RemoveReader'
- static void FileReaderThread_RemoveReader (FileReaderThread *frt, Aud...
- ^
- AudioFileReaderThread.c:125:16: note: previous definition is here
- static void FileReaderThread_RemoveReader (FileReaderThread *frt, Aud...
- ^
- AudioFileReaderThread.c:776:15: error: redefinition of
- 'FileReaderThread_StartFixedPriorityThread'
- static int FileReaderThread_StartFixedPriorityThread (FileReaderThread *frt)
- ^
- AudioFileReaderThread.c:160:15: note: previous definition is here
- static int FileReaderThread_StartFixedPriorityThread (FileReaderThread *frt)
- ^
- AudioFileReaderThread.c:814:16: error: redefinition of
- 'FileReaderThread_GetThreadBasePriority'
- static UInt32 FileReaderThread_GetThreadBasePriority (pthread_t inThread)
- ^
- AudioFileReaderThread.c:198:16: note: previous definition is here
- static UInt32 FileReaderThread_GetThreadBasePriority (pthread_t inThread)
- ^
- AudioFileReaderThread.c:855:17: error: redefinition of
- 'FileReaderThread_DiskReaderEntry'
- static void *FileReaderThread_DiskReaderEntry (void *inRefCon)
- ^
- AudioFileReaderThread.c:239:17: note: previous definition is here
- static void *FileReaderThread_DiskReaderEntry (void *inRefCon)
- ^
- AudioFileReaderThread.c:866:16: error: redefinition of
- 'FileReaderThread_ReadNextChunk'
- static void FileReaderThread_ReadNextChunk (FileReaderThread *frt)
- ^
- AudioFileReaderThread.c:250:16: note: previous definition is here
- static void FileReaderThread_ReadNextChunk (FileReaderThread *frt)
- ^
- AudioFileReaderThread.c:950:6: error: redefinition of 'delete_FileReaderThread'
- void delete_FileReaderThread(FileReaderThread *frt)
- ^
- AudioFileReaderThread.c:334:6: note: previous definition is here
- void delete_FileReaderThread(FileReaderThread *frt)
- ^
- AudioFileReaderThread.c:959:19: error: redefinition of 'new_FileReaderThread'
- FileReaderThread *new_FileReaderThread ()
- ^
- AudioFileReaderThread.c:343:19: note: previous definition is here
- FileReaderThread *new_FileReaderThread ()
- ^
- AudioFileReaderThread.c:992:15: error: redefinition of
- 'AudioFileManager_DoConnect'
- static int AudioFileManager_DoConnect (AudioFileManager *afm)
- ^
- AudioFileReaderThread.c:376:15: note: previous definition is here
- static int AudioFileManager_DoConnect (AudioFileManager *afm)
- ^
- AudioFileReaderThread.c:1030:16: error: redefinition of
- 'AudioFileManager_Disconnect'
- static void AudioFileManager_Disconnect (AudioFileManager *afm)
- ^
- AudioFileReaderThread.c:414:16: note: previous definition is here
- static void AudioFileManager_Disconnect (AudioFileManager *afm)
- ^
- AudioFileReaderThread.c:1039:17: error: redefinition of 'AudioFileManager_Read'
- static OSStatus AudioFileManager_Read(AudioFileManager *afm, char *buffe...
- ^
- AudioFileReaderThread.c:423:17: note: previous definition is here
- static OSStatus AudioFileManager_Read(AudioFileManager *afm, char *buffe...
- ^
- AudioFileReaderThread.c:1049:17: error: redefinition of
- 'AudioFileManager_GetFileData'
- static OSStatus AudioFileManager_GetFileData (AudioFileManager *afm, voi...
- ^
- AudioFileReaderThread.c:433:17: note: previous definition is here
- static OSStatus AudioFileManager_GetFileData (AudioFileManager *afm, voi...
- ^
- AudioFileReaderThread.c:1079:16: error: redefinition of
- 'AudioFileManager_AfterRender'
- static void AudioFileManager_AfterRender (AudioFileManager *afm)
- ^
- AudioFileReaderThread.c:463:16: note: previous definition is here
- static void AudioFileManager_AfterRender (AudioFileManager *afm)
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 20 errors generated.
- make[4]: *** [AudioFileReaderThread.o] Error 1
- In file included from SDL_syscdrom.c:31:
- In file included from ./SDL_syscdrom_c.h:267:
- ./../SDL_syscdrom.h:27:15: error: redefinition of 'CDcaps'
- extern struct CDcaps {
- ^
- ./SDL_syscdrom_c.h:131:10: note: './../SDL_syscdrom.h' included multiple times,
- additional include site here
- #include "../SDL_syscdrom.h"
- ^
- ./SDL_syscdrom_c.h:267:10: note: './../SDL_syscdrom.h' included multiple times,
- additional include site here
- #include "../SDL_syscdrom.h"
- ^
- ./../SDL_syscdrom.h:27:15: note: unguarded header; consider using #ifdef guards
- or #pragma once
- extern struct CDcaps {
- ^
- In file included from SDL_syscdrom.c:31:
- In file included from ./SDL_syscdrom_c.h:267:
- ./../SDL_syscdrom.h:62:3: error: redeclaration of 'SDL_CDcaps' with a different
- type: 'struct (anonymous struct at ./../SDL_syscdrom.h:27:15)' vs
- 'struct CDcaps'
- } SDL_CDcaps;
- ^
- ./../SDL_syscdrom.h:62:3: note: previous declaration is here
- } SDL_CDcaps;
- ^
- In file included from SDL_syscdrom.c:31:
- In file included from ./SDL_syscdrom_c.h:267:
- ./../SDL_syscdrom.h:103:15: error: redefinition of 'CDcaps'
- extern struct CDcaps {
- ^
- ./../SDL_syscdrom.h:27:15: note: previous definition is here
- extern struct CDcaps {
- ^
- In file included from SDL_syscdrom.c:31:
- In file included from ./SDL_syscdrom_c.h:267:
- ./../SDL_syscdrom.h:138:3: error: redeclaration of 'SDL_CDcaps' with a different
- type: 'struct (anonymous struct at ./../SDL_syscdrom.h:103:15)' vs
- 'struct CDcaps'
- } SDL_CDcaps;
- ^
- ./../SDL_syscdrom.h:62:3: note: previous declaration is here
- } SDL_CDcaps;
- ^
- In file included from SDL_syscdrom.c:550:
- In file included from ./SDL_syscdrom_c.h:131:
- ./../SDL_syscdrom.h:27:15: error: redefinition of 'CDcaps'
- extern struct CDcaps {
- ^
- ./SDL_syscdrom_c.h:131:10: note: './../SDL_syscdrom.h' included multiple times,
- additional include site here
- #include "../SDL_syscdrom.h"
- ^
- ./SDL_syscdrom_c.h:131:10: note: './../SDL_syscdrom.h' included multiple times,
- additional include site here
- #include "../SDL_syscdrom.h"
- ^
- ./../SDL_syscdrom.h:27:15: note: unguarded header; consider using #ifdef guards
- or #pragma once
- extern struct CDcaps {
- ^
- In file included from SDL_syscdrom.c:550:
- In file included from ./SDL_syscdrom_c.h:131:
- ./../SDL_syscdrom.h:62:3: error: redeclaration of 'SDL_CDcaps' with a different
- type: 'struct (anonymous struct at ./../SDL_syscdrom.h:27:15)' vs
- 'struct CDcaps'
- } SDL_CDcaps;
- ^
- ./../SDL_syscdrom.h:62:3: note: previous declaration is here
- } SDL_CDcaps;
- ^
- In file included from SDL_syscdrom.c:550:
- In file included from ./SDL_syscdrom_c.h:131:
- ./../SDL_syscdrom.h:103:15: error: redefinition of 'CDcaps'
- extern struct CDcaps {
- ^
- ./../SDL_syscdrom.h:27:15: note: previous definition is here
- extern struct CDcaps {
- ^
- In file included from SDL_syscdrom.c:550:
- In file included from ./SDL_syscdrom_c.h:131:
- ./../SDL_syscdrom.h:138:3: error: redeclaration of 'SDL_CDcaps' with a different
- type: 'struct (anonymous struct at ./../SDL_syscdrom.h:103:15)' vs
- 'struct CDcaps'
- } SDL_CDcaps;
- ^
- ./../SDL_syscdrom.h:62:3: note: previous declaration is here
- } SDL_CDcaps;
- ^
- In file included from SDL_syscdrom.c:550:
- In file included from ./SDL_syscdrom_c.h:267:
- ./../SDL_syscdrom.h:27:15: error: redefinition of 'CDcaps'
- extern struct CDcaps {
- ^
- ./SDL_syscdrom_c.h:131:10: note: './../SDL_syscdrom.h' included multiple times,
- additional include site here
- #include "../SDL_syscdrom.h"
- ^
- ./SDL_syscdrom_c.h:267:10: note: './../SDL_syscdrom.h' included multiple times,
- additional include site here
- #include "../SDL_syscdrom.h"
- ^
- ./../SDL_syscdrom.h:27:15: note: unguarded header; consider using #ifdef guards
- or #pragma once
- extern struct CDcaps {
- ^
- In file included from SDL_syscdrom.c:550:
- In file included from ./SDL_syscdrom_c.h:267:
- ./../SDL_syscdrom.h:62:3: error: redeclaration of 'SDL_CDcaps' with a different
- type: 'struct (anonymous struct at ./../SDL_syscdrom.h:27:15)' vs
- 'struct CDcaps'
- } SDL_CDcaps;
- ^
- ./../SDL_syscdrom.h:62:3: note: previous declaration is here
- } SDL_CDcaps;
- ^
- In file included from SDL_syscdrom.c:550:
- In file included from ./SDL_syscdrom_c.h:267:
- ./../SDL_syscdrom.h:103:15: error: redefinition of 'CDcaps'
- extern struct CDcaps {
- ^
- ./../SDL_syscdrom.h:27:15: note: previous definition is here
- extern struct CDcaps {
- ^
- In file included from SDL_syscdrom.c:550:
- In file included from ./SDL_syscdrom_c.h:267:
- ./../SDL_syscdrom.h:138:3: error: redeclaration of 'SDL_CDcaps' with a different
- type: 'struct (anonymous struct at ./../SDL_syscdrom.h:103:15)' vs
- 'struct CDcaps'
- } SDL_CDcaps;
- ^
- ./../SDL_syscdrom.h:62:3: note: previous declaration is here
- } SDL_CDcaps;
- ^
- SDL_syscdrom.c:581:12: error: redefinition of 'LoadTracks'
- static int LoadTracks (SDL_CD *cdrom)
- ^
- SDL_syscdrom.c:62:12: note: previous definition is here
- static int LoadTracks (SDL_CD *cdrom)
- ^
- SDL_syscdrom.c:602:15: error: redefinition of 'GetFileForOffset'
- static FSRef* GetFileForOffset (SDL_CD *cdrom, int start, int length, i...
- ^
- SDL_syscdrom.c:83:15: note: previous definition is here
- static FSRef* GetFileForOffset (SDL_CD *cdrom, int start, int length, i...
- ^
- SDL_syscdrom.c:637:13: error: redefinition of 'CompletionProc'
- static void CompletionProc (SDL_CD *cdrom)
- ^
- SDL_syscdrom.c:118:13: note: previous definition is here
- static void CompletionProc (SDL_CD *cdrom)
- ^
- SDL_syscdrom.c:681:5: error: redefinition of 'SDL_SYS_CDInit'
- int SDL_SYS_CDInit (void)
- ^
- SDL_syscdrom.c:162:5: note: previous definition is here
- int SDL_SYS_CDInit (void)
- ^
- SDL_syscdrom.c:769:6: error: redefinition of 'SDL_SYS_CDQuit'
- void SDL_SYS_CDQuit(void)
- ^
- SDL_syscdrom.c:250:6: note: previous definition is here
- void SDL_SYS_CDQuit(void)
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 20 errors generated.
- make[4]: *** [SDL_syscdrom.o] Error 1
- In file included from CDPlayer.c:29:
- ./CDPlayer.h:41:40: error: unknown type name 'SDL_CD'
- typedef void (*CDPlayerCompletionProc)(SDL_CD *cdrom) ;
- ^
- ./CDPlayer.h:55:58: error: unknown type name 'SDL_CD'
- void SetCompletionProc (CDPlayerCompletionProc proc, SDL_CD *cdrom);
- ^
- ./CDPlayer.h:57:49: error: unknown type name 'SDL_CD'
- int ReadTOCData (FSVolumeRefNum theVolume, SDL_CD *theCD);
- ^
- CDPlayer.c:67:8: error: unknown type name 'SDL_CD'
- static SDL_CD* theCDROM;
- ^
- CDPlayer.c:138:44: error: unknown type name 'SDL_CD'
- int ReadTOCData (FSVolumeRefNum theVolume, SDL_CD *theCD)
- ^
- CDPlayer.c:289:76: error: use of undeclared identifier 'SDL_DATA_TRACK'
- ...theCD->track[idx].type = (isDataTrack == kCFBooleanTrue) ? SDL_DATA_TRAC...
- ^
- CDPlayer.c:289:93: error: use of undeclared identifier 'SDL_AUDIO_TRACK'
- ...= (isDataTrack == kCFBooleanTrue) ? SDL_DATA_TRACK : SDL_AUDIO_TRACK;
- ^
- CDPlayer.c:383:55: error: use of undeclared identifier 'SDL_MAX_TRACKS'
- assert(0 <= trackID && trackID <= SDL_MAX_TRACKS);
- ^
- CDPlayer.c:527:54: error: unknown type name 'SDL_CD'
- void SetCompletionProc (CDPlayerCompletionProc proc, SDL_CD *cdrom)
- ^
- CDPlayer.c:562:45: error: too few arguments to function call, expected 3, have 2
- SDL_CreateThread(RunCallBackThread, NULL);
- ~~~~~~~~~~~~~~~~ ^
- /opt/x86_64/include/SDL2/SDL_thread.h:168:1: note: 'SDL_CreateThread' declared
- here
- extern DECLSPEC SDL_Thread *SDLCALL
- ^
- CDPlayer.c:703:24: error: redefinition of 'playBackWasInit'
- static int playBackWasInit = 0;
- ^
- CDPlayer.c:61:24: note: previous definition is here
- static int playBackWasInit = 0;
- ^
- CDPlayer.c:705:25: error: redefinition of 'thePlayer'
- static AudioFilePlayer* thePlayer = NULL;
- ^
- CDPlayer.c:63:25: note: previous definition is here
- static AudioFilePlayer* thePlayer = NULL;
- ^
- CDPlayer.c:706:33: error: redefinition of 'completionProc'
- static CDPlayerCompletionProc completionProc = NULL;
- ^
- CDPlayer.c:64:33: note: previous definition is here
- static CDPlayerCompletionProc completionProc = NULL;
- ^
- CDPlayer.c:707:25: error: redefinition of 'apiMutex'
- static SDL_mutex *apiMutex = NULL;
- ^
- CDPlayer.c:65:25: note: previous definition is here
- static SDL_mutex *apiMutex = NULL;
- ^
- CDPlayer.c:709:8: error: unknown type name 'SDL_CD'
- static SDL_CD* theCDROM;
- ^
- CDPlayer.c:726:10: error: redefinition of 'Lock'
- void Lock ()
- ^
- CDPlayer.c:84:10: note: previous definition is here
- void Lock ()
- ^
- CDPlayer.c:734:10: error: redefinition of 'Unlock'
- void Unlock ()
- ^
- CDPlayer.c:92:10: note: previous definition is here
- void Unlock ()
- ^
- CDPlayer.c:739:5: error: redefinition of 'DetectAudioCDVolumes'
- int DetectAudioCDVolumes(FSVolumeRefNum *volumes, int numVolumes)
- ^
- CDPlayer.c:97:5: note: previous definition is here
- int DetectAudioCDVolumes(FSVolumeRefNum *volumes, int numVolumes)
- ^
- CDPlayer.c:780:44: error: unknown type name 'SDL_CD'
- int ReadTOCData (FSVolumeRefNum theVolume, SDL_CD *theCD)
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 20 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement