[vlc-devel] VLCKit compile fails with syntax error because of missing types

Malte Tancred malte at frontbase.com
Wed Jul 1 17:21:31 CEST 2009


Hi!

The two enums libvlc_meta_t and libvlc_state_t declared in include/vlc/ 
libvlc_media.h (line 52 and 84 respectively) cause some trouble in the  
VLCMedia class of the os x framework project. There are no typedefs  
for these enums, causing syntax errors with gcc.

Shouldn't these "types" be typedef'd, as in

   typedef enum libvlc_meta_t { ... } libvlc_meta_t;

?

I can find a total of three enum "types" in libvlc_media.h that I  
believe should be properly typedef'd:

   libvlc_meta_t
   libvlc_state_t
   libvlc_media_option_t

Regards,
Malte




More information about the vlc-devel mailing list