I write embedded C Source for a handful of variants of a device.
The code parts that vary for each variant are activated using #define,
eg.
#define DEVICE_VARIANT1
...
#ifdef DEVICE_VARIANT1
... do something
#endif
Beyond Compare does an awesome tagging of differences in C-Source.
Is there a way maybe to only list differences within valid #defines ?
(e.g. marking all else as non-source differences)
The code parts that vary for each variant are activated using #define,
eg.
#define DEVICE_VARIANT1
...
#ifdef DEVICE_VARIANT1
... do something
#endif
Beyond Compare does an awesome tagging of differences in C-Source.
Is there a way maybe to only list differences within valid #defines ?
(e.g. marking all else as non-source differences)
Comment