On Tue, Dec 23, 2008 at 04:41:41PM -0800, Ira Weiny wrote:

> Otherwise calls to the macro with only 1 parameter fail to compile.  It seems
> that GCC has a couple of extensions [*] but the above should be C99 compliant
> without GCC extensions.  Does that seem right?

Right, that is the unfortunate oversight of the C99 committee. I
think the gcc extension in the C99 case is pretty common.. msdn says
that VC++ will supress the comma if the argument is omitted, which I
suspect is compatible with the GCC extension behavior.

http://msdn.microsoft.com/en-us/library/ms177415(VS.80).aspx

Jason
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to