[libbluray-devel] [PATCH[ Compiler happynessm for functions

Erik Van Grunderbeeck erik at arawix.com
Tue Mar 22 13:05:53 CET 2011


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: libbluray-devel-bounces at videolan.org
[mailto:libbluray-devel-bounces at videolan.org] 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: libbluray-devel-bounces at videolan.org
[mailto:libbluray-devel-bounces at videolan.org] 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20110322/57d83bbc/attachment.html>


More information about the libbluray-devel mailing list