When using nrf51-ble-driver_win_0.5.0 in a Windows program the compiler return 'Enum syntax error' on PARITY_NONE in sd_rpc_parity_t in sd_rpc.h.
I found that PARITY_NONE, PARITY_EVEN and friends are defined in winbase.h.
Problem can be resolved by:
#undef PARITY_NONE
#undef PARITY_EVEN