[MacPorts] #74273: tiff @4.7.2 does not build on PPC Leopard, Mac OS X 10.5.8, because of incorrectly placed #pragmas

MacPorts noreply at macports.org
Fri Jul 31 19:00:26 UTC 2026


#74273: tiff @4.7.2 does not build on PPC Leopard, Mac OS X 10.5.8, because of
incorrectly placed #pragmas
-------------------------+--------------------
 Reporter:  ballapete    |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.12.5
 Keywords:  ppc Leopard  |       Port:  tiff
-------------------------+--------------------
 {{{
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../config -I../libtiff -I../port
 -I../libtiff -I../port -I/opt/local/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include  -pipe -Os
 -std=c99 -arch ppc -Wall -W -MT tiff2ps.o -MD -MP -MF .deps/tiff2ps.Tpo -c
 -o tiff2ps.o tiff2ps.c
 tiff2ps.c: In function ‘PhotoshopBanner’:
 tiff2ps.c:702: error: #pragma GCC diagnostic not allowed inside functions
 tiff2ps.c:703: error: #pragma GCC diagnostic not allowed inside functions
 tiff2ps.c:710: error: #pragma GCC diagnostic not allowed inside functions
 tiff2ps.c: In function ‘PSpage’:
 tiff2ps.c:2877: error: #pragma GCC diagnostic not allowed inside functions
 tiff2ps.c:2878: error: #pragma GCC diagnostic not allowed inside functions
 tiff2ps.c:2885: error: #pragma GCC diagnostic not allowed inside functions
 make[1]: *** [tiff2ps.o] Error 1
 make[1]: Leaving directory `/opt/local/var/macports/build/tiff-
 755b1a47/work/tiff-4.7.2/tools'
 make: *** [all-recursive] Error 1
 make: Leaving directory `/opt/local/var/macports/build/tiff-
 755b1a47/work/tiff-4.7.2'
 Command failed:  cd "/opt/local/var/macports/build/tiff-
 755b1a47/work/tiff-4.7.2" && /usr/bin/make -w all
 }}}

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


More information about the macports-tickets mailing list