Opened 5 years ago

#57516 assigned defect

py-pyscard @1.9.7: error: ‘SCARD_PROTOCOL_UNDEFINED’ undeclared

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: amake (Aaron Madlon-Kay)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-pyscard

Description

py-pyscard fails to build, at least on Snow Leopard:

In file included from smartcard/scard/scard_wrap.c:3064:
smartcard/scard/winscarddll.h:280: warning: ‘LPTSTR’ is deprecated
smartcard/scard/winscarddll.h:286: warning: ‘LPTSTR’ is deprecated
smartcard/scard/winscarddll.h:304: warning: ‘LPTSTR’ is deprecated
smartcard/scard/scard_wrap.c: In function ‘_ListReaders’:
smartcard/scard/scard_wrap.c:3443: warning: ‘LPTSTR’ is deprecated
smartcard/scard/scard_wrap.c: In function ‘_ListReaderGroups’:
smartcard/scard/scard_wrap.c:3472: warning: ‘LPTSTR’ is deprecated
smartcard/scard/scard_wrap.c:3489: warning: ‘LPTSTR’ is deprecated
smartcard/scard/scard_wrap.c: In function ‘_Status’:
smartcard/scard/scard_wrap.c:3550: warning: ‘LPTSTR’ is deprecated
smartcard/scard/scard_wrap.c: In function ‘_Transmit’:
smartcard/scard/scard_wrap.c:3588: error: ‘SCARD_PROTOCOL_UNDEFINED’ undeclared (first use in this function)
smartcard/scard/scard_wrap.c:3588: error: (Each undeclared identifier is reported only once
smartcard/scard/scard_wrap.c:3588: error: for each function it appears in.)

Change History (0)

Note: See TracTickets for help on using tickets.