scd/apdu.c SVN 4829 error in compiling on WIN_32

Tom Pegios tomp at
Sun Sep 28 06:56:09 CEST 2008

RE: SVN 4829
Compiling scd/apdu.c when HAVE_W32_SYSTEM is defined generates the
following errors:

apdu.c: In function 'pcsc_get_status':
apdu.c:1095: error: invalid operands to binary &
apdu.c:1096: error: invalid operands to binary |

The lines are as follows:

1095  if ((status & 6) == 6)
1096    status |= 1;

If status is replaced by *status the file compiles properly :>

Tom Pegios

More information about the Gnupg-devel mailing list