How can I make my project use my own version of a “standard” include file?
To be specific, I want my own version of eTypes.h (from the CGPS plugin):
- Just placing my eTypes.h in my project’s inc folder dooesn’t work - the standard one is still used;
- Re-ording the include paths in the project settings dooesn’t work - the standard one is still used.
For now, I have deleted the plugin’s include path completely from my project settings - but is there another way
Reason:
But wm_types.h defines u32 and s32 as int - not long.
It does so happen that int and long are the same size on GCC, but this can lead to some warnings: particularly with sprintf (and similar) - which will warn that “%d” should not be used with long…