gutenprint fails to build

Riccardo Mottola riccardo.mottola at libero.it
Tue Oct 9 08:39:21 UTC 2018


Hi all!

latest turn of upgrades on Leopard 10.5 I get the failure below 
building gutenprint.

do you think the issue is the version of GCC used or is gutenprint not 
compatible with GCC anymore?

unfortunately the makefile is not printing out which CC is being used, 
so which compiler!

Riccardo


make[3]: Entering directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_gutenprint/gutenprint/work/gutenprint-5.3.1/src/main'
   CC       print-papers.lo
   CC       print-vars.lo
In file included from print-vars.c:36:
gutenprint-internal.h:255: warning: expected [error|warning|ignored] 
after ?#pragma GCC diagnostic?
gutenprint-internal.h:262: warning: expected [error|warning|ignored] 
after ?#pragma GCC diagnostic?
In file included from print-papers.c:31:
gutenprint-internal.h:255: warning: expected [error|warning|ignored] 
after ?#pragma GCC diagnostic?
gutenprint-internal.h:262: warning: expected [error|warning|ignored] 
after ?#pragma GCC diagnostic?
print-papers.c: In function ?stpi_papersize_freefunc?:
print-papers.c:87: error: #pragma GCC diagnostic not allowed inside 
functions
print-papers.c:88: error: #pragma GCC diagnostic not allowed inside 
functions
print-papers.c:92: error: #pragma GCC diagnostic not allowed inside 
functions
make[3]: *** [print-papers.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_gutenprint/gutenprint/work/gutenprint-5.3.1/src/main'



More information about the macports-users mailing list