Skip to content
Success

Changes

Summary

  1. Don't use variadic macros for annotations (details)
  2. Changes (details)
Commit aec2c9f55e7c47a1613879014e0438ac2f07089e by n.oje.bar
Don't use variadic macros for annotations

Varadic macros expect at least one parameter for the variadic part (at
least until C++20). They were used to allow for possible future
extension by adding more parameters.

    /Users/antonin/Tarides/ocaml/trunk/runtime/caml/memory.h:89:32: error: ISO C++11 requires at least one argument for the "..." in a variadic macro [-Werror]
       89 | CAMLmalloc(caml_stat_free, 1, 1) CAMLreturns_nonnull()
          |                                ^
The file was modifiedruntime/caml/misc.h (diff)
The file was modifiedChanges (diff)