Ok, so who's so lazy they use macros to generate code? That aside, I saw that in some code having the following #define, what showed up in the definition box when CASE_DRIVER(XX) was expanded had the ":" and "." replaced with "::".
#define CASE_DRIVER(ID) case driver##ID: sendStatus = driver_##ID.Update (packet.msg, &sendPacket); break;
Nothing fatal or earth shaking. Just figured it's not supposed to be that way.
out of interest should those #'s be there? or are they just place holders? i try not to use macro's to much, but the hashes look like they wont compile, and i don't recall reading anything about them being control characters in a macro.
Just for testing purposes - this line : static const double VoltsPerBit = 10.0 / (double)0x0fff; is shown in the definition box as : static const double VoltsPerBit = 10::0 (double)0x0fff;