Opened 3 years ago
Closed 3 years ago
#63346 closed defect (fixed)
vm-pop3d @1.1.6_2: error: implicitly declaring library function 'memcpy'
Reported by: | cooljeanius (Eric Gallager) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | bigsur catalina | Cc: | |
Port: | vm-pop3d |
Description
Another victim of -Werror=implicit-function-declaration
being on by default now:
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_vm-pop3d/vm-pop3d/work/vm-pop3d-1.1.6' /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi apop.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi auth.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi capa.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi dele.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi extra.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi vm-pop3d.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi list.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi md5.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi noop.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi quit.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi retr.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi rset.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi stat.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi top.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi uidl.c /usr/bin/clang -c -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi user.c md5.c:117:3: error: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Werror,-Wimplicit-function-declaration] memcpy(&ctx->buffer[bytes], fillbuf, pad); ^ md5.c:117:3: note: include the header <string.h> or explicitly provide a declaration for 'memcpy' 1 error generated. make: *** [md5.o] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_vm-pop3d/vm-pop3d/work/vm-pop3d-1.1.6' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_vm-pop3d/vm-pop3d/work/vm-pop3d-1.1.6" && /usr/bin/make -j16 -w all Exit code: 2 Error: Failed to build vm-pop3d: command execution failed DEBUG: Error code: CHILDSTATUS 58173 2
Change History (1)
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In 1f84e58df2799153d3c471e4e528d26baca354bc/macports-ports (master):