Menu ▾ ▴

#104 GCC Specific Variadic Macros

v1.0 (example)
open
None
5
2015-04-29
2015-04-29
No

The check.h header uses GCC specific variadic argument macros (, ## VA_ARGS) to implement certain assert functions. I think it might be possible to rewrite the macros so that they just use standard C90 macros and therefore support more compilers.

Is this something you would be interesting in receiving a patch for?

Related

Bugs: #104

Discussion

  • Branden Archer

    Branden Archer - 2015-04-29

    Is this something you would be interesting in receiving a patch for?

    Certainly! Give it a shot and let us know if you come up with a better
    solution. Currently before releases we compile using gcc, clang, and
    Microsoft's Visual Studios. If there is another compiler you have access to
    which could also be checked that is of interest to you, I would be
    interested in hearing the result.

    • Branden

    On Wed, Apr 29, 2015 at 10:25 AM, Matt Clarkson mattyclarkson@users.sf.net
    wrote:


    Status: open
    Group: v1.0 (example)
    Created: Wed Apr 29, 2015 02:25 PM UTC by Matt Clarkson
    Last Updated: Wed Apr 29, 2015 02:25 PM UTC
    Owner: Branden Archer

    The check.h header uses GCC specific variadic argument macros (, ##
    VA_ARGS) to implement certain assert functions. I think it might be
    possible to rewrite the macros so that they just use standard C90 macros
    and therefore support more compilers.

    Is this something you would be interesting in receiving a patch for?

    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/check/bugs/104/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #104


Log in to post a comment.