[MacPorts] #70897: cp: Bad address

MacPorts noreply at macports.org
Wed Sep 25 07:57:03 UTC 2024


#70897: cp: Bad address
----------------------------+---------------------
  Reporter:  christophecvr  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  base           |    Version:  2.10.99
Resolution:                 |   Keywords:
      Port:                 |
----------------------------+---------------------

Comment (by ryandesign):

 Also we are getting this warning:
 {{{
 cp.c:21:25: warning: passing 'const char **' to parameter of type 'char
 *const *' discards qualifiers in nested pointer types [-Wincompatible-
 pointer-types-discards-qualifiers]
         execve(cp_path, new_argv, environ);
                         ^~~~~~~~
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:445:49:
 note: passing argument to parameter '__argv' here
 int      execve(const char * __file, char * const * __argv, char * const *
 __envp) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
                                                     ^
 1 warning generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70897#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list