This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

S130 PARITY_NONE & PARITY_EVEN already defined in winbase.h

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
Related