Opened 2 years ago

#57854 new defect

p5-term-gnuplot: should not compile with -DNO_MEMCPY

Reported by: mojca (Mojca Miklavec) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans)
Port: p5-term-gnuplot

Description

/usr/bin/clang -c -I./gnuterm  -I. -Iterm -Igd -I.. -fno-common -DPERL_DARWIN -mmacosx-version-min=10.8 -pipe -Os -fno-strict-aliasing -fstack-protector -I/opt/local/include -DPERL_USE_SAFE_PUTENV -arch x86_64 -O3   -DVERSION=\"\" -DXS_VERSION=\"\"  "-I/opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE" -DPM3D -DUSE_ULIG_FILLEDBOXES -DUSE_ACTIVE_EVENTS -DHAVE_LIBPNG -DHAVE_LIBGD -DHAVE_GD_GIF -DHAVE_GIF -DHAVE_GD_JPEG -DHAVE_GD_PNG -DHAVE_NEWGD -DHAVE_PNG -DHAVE_GD_TTF  -DPM3D -DUSE_ULIG_FILLEDBOXES -DUSE_ACTIVE_EVENTS -DHAVE_LIBPNG -DHAVE_LIBGD -DHAVE_GD_GIF -DHAVE_GIF -DHAVE_GD_JPEG -DHAVE_GD_PNG -DHAVE_NEWGD -DHAVE_PNG -DHAVE_GD_TTF -DRETSIGTYPE=void -DGPLT_X11_MODE -DPIPES -DX11 -DX11_DRIVER_DIR=\".\" -DEXENAME_X11=gnuplot_x11b -DEXENAME_PM=gplpmdrb -DCANT_ACCEPT_COMMANDS -DX11_FORCED_PATH -DNO_FLOAT_H -DHAVE_UNISTD_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDLIB_H -DHAVE_UNISTD_H -DHAVE_STRING_H -DHAVE_TERMIOS_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_STAT_H -DHAVE_SYS_PARAM_H -DHAVE_TIME_H -DNO_MEMCPY -DNO_MEMSET -DNO_STRCHR -DANSI_C -DNOCOPY -DHAVE_STRNCASECMP -DHAVE_DIRENT_H -DHAVE_SLEEP getcolor.c
cp GnuplotTerminals.pod blib/lib/Term/GnuplotTerminals.pod
cp Gnuplot.pm blib/lib/Term/Gnuplot.pm
In file included from bitmap.c:66:
In file included from ./alloc.h:44:
./stdfn.h:67:8: error: conflicting types for 'memcpy'
char * memcpy __PROTO((char *, char *, size_t));
       ^
/usr/include/string.h:82:7: note: previous declaration is here
void    *memcpy(void *, const void *, size_t);
         ^
In file included from util.c:44:
In file included from ./util.h:41:
./stdfn.h:67:8: error: conflicting types for 'memcpy'
char * memcpy __PROTO((char *, char *, size_t));
       ^
/usr/include/string.h:82:7: note: previous declaration is here
void    *memcpy(void *, const void *, size_t);
         ^

See the logs from the buildbot and #57848.

Change History (0)

Note: See TracTickets for help on using tickets.