[MacPorts] #67051: arch @1.3.5: error: implicit declaration of function

MacPorts noreply at macports.org
Mon Mar 6 07:38:33 UTC 2023


#67051: arch @1.3.5: error: implicit declaration of function
----------------------------------------------+----------------------
 Reporter:  ryandesign                        |      Owner:  jmroot
     Type:  defect                            |     Status:  assigned
 Priority:  Normal                            |  Milestone:
Component:  ports                             |    Version:  2.8.1
 Keywords:  catalina bigsur monterey ventura  |       Port:  arch
----------------------------------------------+----------------------
 https://build.macports.org/builders/ports-
 13_arm64-builder/builds/8358/steps/install-port/logs/stdio
 {{{
 endian-test.c:6:3: error: implicitly declaring library function 'exit'
 with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-
 function-declaration]
   exit (*(unsigned char *)&x);
   ^
 endian-test.c:6:3: note: include the header <stdlib.h> or explicitly
 provide a declaration for 'exit'
 }}}
 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_arch/arch/work/tla-1.3.5/src/tla/libfsutils
 /tmp-files.c:84:24: error: implicit declaration of function 'tmp_dir' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
     t_uchar * tmpdir = tmp_dir(NULL);
                        ^
 }}}
 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_arch/arch/work/tla-1.3.5/src/tla/libfsutils
 /tmp-files.c:85:33: error: implicit declaration of function 'str_replace'
 is invalid in C99 [-Werror,-Wimplicit-function-declaration]
     t_uchar * talloced_result = str_replace (tmpdir,
                                 ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67051>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list