mirror of
https://github.com/logos-storage/nim-leopard.git
synced 2026-01-07 08:03:10 +00:00
disables pointer-compatibility error in gcc-14
This commit is contained in:
parent
895ff24ca6
commit
dae62a1b9a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user