Open
Description
Hello,
GCC14 changed some warning into errors. This affects this package. I have found this error while building mosdepth:
/build/.cache/nim/mosdepth_d/@m..@s..@[email protected]@[email protected]@sdocopt.nim.c: In function ‘single_match__OOZOOZOOZOnimbleZpkgs50Zdocopt4548O55O4945515655f49ae4955f51b55545048c55564952cf5252a5350d51d5749b56574854e57Zdocopt_u2684’:
/build/.cache/nim/mosdepth_d/@m..@s..@[email protected]@[email protected]@sdocopt.nim.c:6103:51: error: assignment to ‘tyObject_PatterncolonObjectType___6EsHdno9aUDLhFZb13CV9bjg *’ from incompatible pointer type ‘tyObject_ArgumentcolonObjectType___5mOF6yv6X1hpdSvzT9bHwag *’ [-Wincompatible-pointer-types]
6103 | colontmp_ = argument__OOZOOZOOZOnimbleZpkgs50Zdocopt4548O55O4945515655f49ae4955f51b55545048c55564952cf5252a5350d51d5749b56574854e57Zdocopt_u263(colontmpD__2, (*pattern).value);
| ^
/build/.cache/nim/mosdepth_d/@m..@s..@[email protected]@[email protected]@sdocopt.nim.c: In function ‘single_match__OOZOOZOOZOnimbleZpkgs50Zdocopt4548O55O4945515655f49ae4955f51b55545048c55564952cf5252a5350d51d5749b56574854e57Zdocopt_u2696’:
/build/.cache/nim/mosdepth_d/@m..@s..@[email protected]@[email protected]@sdocopt.nim.c:6328:59: error: assignment to ‘tyObject_PatterncolonObjectType___6EsHdno9aUDLhFZb13CV9bjg *’ from incompatible pointer type ‘tyObject_CommandcolonObjectType___d0p03CWXIC0dvrbxEPp3tw *’ [-Wincompatible-pointer-types]
6328 | colontmp_ = command__OOZOOZOOZOnimbleZpkgs50Zdocopt4548O55O4945515655f49ae4955f51b55545048c55564952cf5252a5350d51d5749b56574854e57Zdocopt_u569(colontmpD__4, colontmpD__5);
| ^
Error: execution of an external compiler program 'gcc -c -w -fmax-errors=3 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -pthread -I/usr/lib/nim/lib -I/build/mosdepth/src/mosdepth-0.3.8 -o /build/.cache/nim/mosdepth_d/@m..@s..@[email protected]@[email protected]@sdocopt.nim.c.o /build/.cache/nim/mosdepth_d/@m..@s..@[email protected]@[email protected]@sdocopt.nim.c' failed with exit code: 1
Tip: 100 messages have been suppressed, use --verbose to show them.
nimble.nim(229) buildFromDir
Error: Build failed for the package: mosdepth
This can be worked around by using --passC:-Wno-error=incompatible-pointer-types
.
Metadata
Metadata
Assignees
Labels
No labels
Activity