Erik Van Grunderbeeck wrote:
> Looking at this again, not sure on how to solve it except by
> duplicating the whole DLOPEN macro. ## is a specific gcc C99 extension
> to solve the empty argument issue. The microsoft and intel compiler
> just drop the last comma on macro expansion.
>
> I checked the code, and it seems that DLOPEN is never called without
> an argument and thus only using # (and not ##) should work fine. 
>
> Thoughts?

Just drop ",params" from macro definition and use C99 __VA_ARGS__ ?

 #    define DL_CALL(lib,func,...)
...
             fptr(__VA_ARGS__);           \


_______________________________________________
libbluray-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libbluray-devel

Reply via email to