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? Erik From: [email protected] [mailto:[email protected]] On Behalf Of Erik Van Grunderbeeck Sent: Tuesday, March 22, 2011 11:59 AM To: 'Development around libbluray' Subject: Re: [libbluray-devel] [PATCH[ Compiler happynessm for functions The line fptr(param, #__VA_ARGS__); should be under an INTEL_COMPILER define. Will resubmit patch (once I figure out how to revert in git) Erik From: [email protected] [mailto:[email protected]] On Behalf Of Erik Van Grunderbeeck Sent: Tuesday, March 22, 2011 11:18 AM To: 'Development around libbluray' Subject: [libbluray-devel] [PATCH[ Compiler happynessm for functions Erik
_______________________________________________ libbluray-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libbluray-devel
