chris clepper cgc@humboldtblvd.com wrote: Looks like you have three #ifdef but only two #endif. Whoops! That was a mistake in the file I posted, the file I compiled had two #ifdef and two #endif.
When I have the #endif after the #else, replace the #else with an #endif or when I get rid of the second #ifdef/#endif block I get the same error, but I noticed something today I wasn't paying attention to before. I think I read somewhere on the list about _tilde_setup names causing problems for MSVC, but here I get an illegal type 'void' when declaring extern void framescore_tilde_setup
Since this is the first error I get I assume it to be the important one! The other errors are likely to be gibberish...enclosed is the compiler output. Best, Ed
-> -> --> ---> -----> --------> -------------> r3search + praktik EK5perimenz --------------------------------- Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail
Compiling... framescore~.c c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(32) : error C2182: 'framescore_tilde_setup' : illegal use of type 'void' c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(51) : error C2143: syntax error : missing ';' before 'type' c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(53) : error C2143: syntax error : missing ';' before 'type' c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(54) : error C2143: syntax error : missing ';' before 'type' c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(55) : error C2143: syntax error : missing ';' before 'type' c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(56) : error C2143: syntax error : missing ';' before 'type' c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(65) : error C2065: 'blockaccum' : undeclared identifier c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(67) : error C2065: 'diff' : undeclared identifier c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(70) : error C2065: 'score' : undeclared identifier c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(72) : error C2065: 'avg' : undeclared identifier c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(98) : error C2373: 'framescore_tilde_setup' : redefinition; different type modifiers c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(32) : see declaration of 'framescore_tilde_setup' Error executing cl.exe.