[Spread-users] sp.h defines collitions

Marcelo San-Martin Marcelo.San-Martin at harmonicinc.com
Mon Jun 24 20:29:34 EDT 2013

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?



More information about the Spread-users mailing list