disables pointer-compatibility error in gcc-14

This commit is contained in:
benbierens 2024-08-06 11:07:24 +02:00
parent 895ff24ca6
commit dae62a1b9a
No known key found for this signature in database
GPG Key ID: 877D2C2E09A22F3A

View File

@ -12,6 +12,12 @@ push: {.upraises: [].}
{.deadCodeElim: on.}
# in gcc-14, incompatible-pointer-types warning was promoted to error.
# function arguments in C of type 'const void* const * const' are seen as
# not compatible with nim 'ptr pointer' type.
# We use localPassC to disable this check for the compiling of nim-leopard.
{.localPassC:"-Wno-error=incompatible-pointer-types"}
import pkg/stew/results
import ./wrapper