126. typedef VstIntPtr (VSTCALLBACK *AEffectDispatcherProc) (AEffect* effect, VstInt32 opcode, VstInt32 index, VstIntPtr value, void* ptr, float opt);
/home/mark/SoftDev/SDK/vstsdk2.4/pluginterfaces/vst2.x/aeffect.h|126|error: expected ‘)’ before ‘*’ token|
typedef VstInPtr VSTCALLBACK (*AEffectDispatcherProc)( AEffect *effect, ... );
typedef VstInPtr (VSTCALLBACK (*AEffectDispatcherProc))( AEffect *effect, ... );
Please read the rules and post your problem in the appropriate place!
I have no experience with VST but I would tryCodetypedef VstInPtr VSTCALLBACK (*AEffectDispatcherProc)( AEffect *effect, ... );
orCodetypedef VstInPtr (VSTCALLBACK (*AEffectDispatcherProc))( AEffect *effect, ... );
Sometimes, you need to be very explicit in specifying where the star belongs to.
2. Compiler errors are NOT Code::Blocks errors. Usually, C++ newcomers tend to confuse the Editor/IDE (Code::Blocks) with the Compiler (MINGW / GCC). You may see some errors in the compiler output because you missed to do something right in your code. But that's not Code::Blocks troubleshooting, that's C++ troubleshooting and does not belong in here. If your program doesn't compile, READ THE C++ MANUAL.
Code::Blocks is not a compiler, nor a linker. Release packages of Code::Blocks may include a compiler suite (MinGW/GCC), if not provided by the target platform already. However, this is provided "as-is" and not developed/maintained by the Code::Blocks development team.