[Libreoffice] [PATCH] [MAC/WINDOWS] Simplified #define OSL_FILE_TRACE

Norbert Thiebaud nthiebaud at gmail.com
Sun Jun 5 10:54:25 PDT 2011

On Sun, Jun 5, 2011 at 12:11 PM, Chr. Rossmanith <ChrRossmanith at gmx.de> wrote:
> Hi,
> how many different compilers are used for Mac/Windows? Could we just try if
> they accept the varargs syntax? Or is there more testing needed?

I'm pretty certain now that __VAR_ARGS__ is supported by all the
compiler we use.

> Maybe there are more pieces of code which would be better readable if using
> varargs? So if we know it for this situation we know it for future cases as
> well...

Well whether or not using variadic macro make sens or not has to be
looked at on a case by case basis...
But there is no compiler issue, that I know of, that would prevent its use.


More information about the LibreOffice mailing list