[MacPorts] #67729: lzma is broken now with Apple GCC: error: #pragma GCC diagnostic not allowed inside functions

MacPorts noreply at macports.org
Sat Jul 8 12:16:27 UTC 2023


#67729: lzma is broken now with Apple GCC: error: #pragma GCC diagnostic not
allowed inside functions
-----------------------------------------+------------------------
 Reporter:  barracuda156                 |      Owner:  ryandesign
     Type:  defect                       |     Status:  assigned
 Priority:  Normal                       |  Milestone:
Component:  ports                        |    Version:  2.8.1
 Keywords:  tiger, leopard, snowleopard  |       Port:  lzma
-----------------------------------------+------------------------
 {{{
 ../../../../C/LzmaEnc.c: In function ‘SeqOutStreamBuf_Write’:
 ../../../../C/LzmaEnc.c:2922: error: #pragma GCC diagnostic not allowed
 inside functions
 ../../../../C/LzmaEnc.c:2922: error: #pragma GCC diagnostic not allowed
 inside functions
 ../../../../C/LzmaEnc.c:2922: error: #pragma GCC diagnostic not allowed
 inside functions
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_lzma/lzma/work/compwrap/cc/usr/bin/gcc-4.2
 -arch ppc     -O2 -c -Wall -Wextra  -DNDEBUG -D_REENTRANT
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC   -o _o/LzFindOpt.o
 ../../../../C/LzFindOpt.c
 gnumake: *** [_o/LzmaEnc.o] Error 1
 }}}

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


More information about the macports-tickets mailing list