-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I try to build scamp for Mageia i686. The build on x86_64 is OK, but on i868 I get:
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o chealpixstore.o chealpixstore.c
...
define.h:135:28: error: assignment to 'int64_t *' {aka 'long long int *'} from incompatible pointer type 'long int *' [-Wincompatible-pointer-types]
135 | {if (!(ptr = (typ *)realloc(ptr, (size_t)(nel)*sizeof(typ))))\
| ^
Metadata
Metadata
Assignees
Labels
No labels