I declare the following two function pointers in my class:
void (*ptrFunc)(void *);
bool (*ptrValid)(char *);
Now for some reason, the second pointer (ptrValid) causes the program to crash on exit. When I comment out the declaration the program exits fine, but when I un-comment it, it crashes.
Nothing is being assigned to it, it isn't being called, just declared.
Am I missing something here?