[MacPorts] #66116: pcsc-tools fails on 10.6.8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Boolean’

MacPorts noreply at macports.org
Sun Oct 30 08:58:33 UTC 2022


#66116: pcsc-tools fails on 10.6.8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘Boolean’
--------------------------+------------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.0
 Keywords:  snowleopard   |       Port:  pcsc-tools
--------------------------+------------------------
 {{{
 pcsc_scan.c:124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
 before ‘Boolean’
 pcsc_scan.c: In function ‘should_exit’:
 pcsc_scan.c:200: error: ‘Interrupted’ undeclared (first use in this
 function)
 pcsc_scan.c:200: error: (Each undeclared identifier is reported only once
 pcsc_scan.c:200: error: for each function it appears in.)
 pcsc_scan.c: At top level:
 pcsc_scan.c:213: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
 before ‘SpinState_t’
 pcsc_scan.c: In function ‘spin_start’:
 pcsc_scan.c:217: error: ‘spin_state’ undeclared (first use in this
 function)
 pcsc_scan.c: In function ‘spin_stop’:
 pcsc_scan.c:222: error: ‘spin_state’ undeclared (first use in this
 function)
 pcsc_scan.c: In function ‘spin_update’:
 pcsc_scan.c:244: error: ‘spin_state’ undeclared (first use in this
 function)
 pcsc_scan.c: In function ‘user_interrupt_signal_handler’:
 pcsc_scan.c:281: error: ‘Interrupted’ undeclared (first use in this
 function)
 pcsc_scan.c: In function ‘stress’:
 pcsc_scan.c:437: error: ‘Interrupted’ undeclared (first use in this
 function)
 pcsc_scan.c: In function ‘main’:
 pcsc_scan.c:802: warning: format ‘%ld’ expects type ‘long int’, but
 argument 3 has type ‘uint32_t’
 make[1]: *** [pcsc_scan-pcsc_scan.o] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_sysutils_pcsc-tools/pcsc-tools/work
 /pcsc-tools-1.6.0'
 make: *** [all] Error 2
 }}}

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


More information about the macports-tickets mailing list