No, it's not supposed to do that... but just glancing at the code, it 
looks like there's a type declaration after a function call. This is ok 
for C++ but probably some settings and the ".c" extension are telling 
your compiler not to allow this.

The pm_win.c file is definitely wrong -- it looks like I made an editing 
mistake taking out USE_DLL_FOR_CLEANUP from earlier versions. I think 
the fix is obvious, but I'm sorry to put you to the trouble. I'm in the 
middle of proposal writing, grading, and preparing a performance, so I 
won't jump in an fix this right away. Let me know though if this is not 
enough info to get things compiling.

-Roger

[EMAIL PROTECTED] wrote:
> Hi there,
>
> I've been trying to build the portmidi library using Visual C++ Express
> 2008 and I'm running into a couple of errors:
>
> - the first:
>
> 1>.\pm_win\pmwinmm.c(693) : error C2143: syntax error : missing ';' before
> 'type'
>
> - the second:
>
> 1>.\pm_win\pmwin.c(48) : fatal error C1019: unexpected #else
>
> This is against the SVN trunk but I'm having the same failure against
> portmidi-82.
>
> Is this to be expected? (I guess not...)
>
> Cheers
> Gareth
>
>
>
> _______________________________________________
> media_api mailing list
> media_api@create.ucsb.edu
> http://lists.create.ucsb.edu/mailman/listinfo/media_api
>
>   
_______________________________________________
media_api mailing list
media_api@create.ucsb.edu
http://lists.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to