sp.h defines collitions
Marcelo San-Martin <[email protected]> Mon, 24 Jun 2013 17:29:34 -0700
| Newsgroups | gmane.network.spread.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I don't know if there has been discussions about this file but I am having a lot of issues regarding #defines colliding with symbols, enum, and typedef defined in other libraries, for example: # define int16 short # define int32 int Are these really necessary, type definitions using #define are not a good practice? Definitions like LOW_PRIORITY and HIGH_PRIORITY are very common, Wouldn't be better to have all this prefixed with "SPREAD_" instead? Thanks, Marcelo