[MacPorts] #59927: bison @3.5 does not build on PPC Tiger, Mac OS X 10.4.11, because "#pragma GCC diagnostic not allowed inside functions"

MacPorts noreply at macports.org
Tue Jan 7 21:20:43 UTC 2020


#59927: bison @3.5 does not build on PPC Tiger, Mac OS X 10.4.11, because "#pragma
GCC diagnostic not allowed inside functions"
-----------------------+--------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.2
 Keywords:  tiger      |       Port:  bison
-----------------------+--------------------
 {{{
 /opt/local/bin/gcc-apple-4.2 -std=gnu99 -DEXEEXT=\"\"   -I. -I./lib -I.
 -I./lib -DINSTALLDIR=\"/opt/local/bin\" -I/opt/local/include   -pipe -Os
 -arch ppc -MT src/bison-InadequacyList.o -MD -MP -MF src/.deps/bison-
 InadequacyList.Tpo -c -o src/bison-InadequacyList.o `test -f
 'src/InadequacyList.c' || echo './'`src/InadequacyList.c
 src/InadequacyList.c: In function 'InadequacyList__new_conflict':
 src/InadequacyList.c:37: error: #pragma GCC diagnostic not allowed inside
 functions
 src/InadequacyList.c:37: error: #pragma GCC diagnostic not allowed inside
 functions
 src/InadequacyList.c:40: error: #pragma GCC diagnostic not allowed inside
 functions
 make: *** [src/bison-InadequacyList.o] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_bison/bison/work/bison-3.5'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_bison/bison/work/bison-3.5"
 && /usr/bin/make -w all
 Exit code: 2
 }}}

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


More information about the macports-tickets mailing list