[MacPorts] #59115: libssh2 @1.9.0 fails to build on PPC Mac OS X 10.5.8 because '#pragma GCC diagnostic not allowed inside functions'

MacPorts noreply at macports.org
Thu Sep 26 21:12:28 UTC 2019


#59115: libssh2 @1.9.0 fails to build on PPC Mac OS X 10.5.8 because '#pragma GCC
diagnostic not allowed inside functions'
-----------------------+---------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:
 Keywords:  leopard    |       Port:  libssh2
-----------------------+---------------------
 {{{
   CC       x11.o
 x11.c: In function ‘main’:
 x11.c:328: error: #pragma GCC diagnostic not allowed inside functions
 x11.c:329: error: #pragma GCC diagnostic not allowed inside functions
 x11.c:333: error: #pragma GCC diagnostic not allowed inside functions
 make[2]: *** [x11.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_libssh2/libssh2/work/libssh2-1.9.0/example'
 make[1]: *** [all] Error 2
 }}}

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


More information about the macports-tickets mailing list