Skip to content
Snippets Groups Projects
Select Git revision
  • 11b3cec177b1b655148b8352096a3cff10be62d2
  • master default protected
2 results

googletest

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • user avatar
    Abseil Team authored and vslashg committed
    Fix `-Wgnu-zero-variadic-macro-arguments` in GMock
    
    Passing zero arguments to the variadic part of a macro is a GNU
    extension and triggers warnings when build projects using GMock with
    `-pedantic`.
    
     - Fix uses of `GMOCK_PP_INTERNAL_16TH` to always receive at least 17
    arguments. (this was triggered when `GMOCK_PP_NARG` or `GMOCK_PP_HAS_COMMA`
    were used with an argument containing no commas).
     - Fix `GMOCK_PP_HEAD` to append a dummy unused argument so that
    `GMOCK_PP_INTERNAL_HEAD` always has two arguments.
    
    PiperOrigin-RevId: 310414611
    a09ea700
    History
    Name Last commit Last update