error in header file: fmod_codec.h:
at the top:
[code:1b5l7yvo]typedef struct FMOD_CODEC_STATE FMOD_CODEC_STATE;[/code:1b5l7yvo]
typedef struct FMOD_CODEC_STATE
gcc 3.3.6 totally barfs and says you multiply defined the type. please remove the bottom redundant typedef
- nirva asked 12 years ago
what?????? the first typedef is for the reason you state. the second one is completely redundant. it does the exact same thing!
there are huge libraries that have ONLY the first typedef (gtk/glib come to mind) that are based on this type of forward typedefing of structures.
i removed the second typedef and all worked fine:
Please login first to submit.