Skip to content

Compiler warnings on OSX due to the use of ## __VA_ARGS__ #55

Closed

Description

@mikaelarguedas

Apparently CLang complains about the use of ## __VA_ARGS__ as it is a GNU extension causing warnings on our CI:
Warning type: -Wgnu-zero-variadic-macro-arguments
Warning message: "token pasting of ',' and __VA_ARGS__ is a GNU extension"

Compiler version : AppleClang 9.0.0.9000039
Compiler args: -Wall -Wextra -Wpedantic

Example job producing warnings:
http://ci.ros2.org/job/ci_osx/3283/warnings10Result/

Activity

  1. scpeters commented on May 6, 2020

    @scpeters
    Contributor

    fixed by #64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions