I won’t post any code, because there is too much that could be relevant. But When I run my program it prints
Internal Bad Op Name!
: Success
Anybody even know what that means? I’m using g++ to compile my code and nowhere in my code do I cout anything even remotely close to something like that. I don’t know where it’s coming from. Also, any suggestions as to figure out where in the code it’s coming from, maybe using gdb somehow to do that?
Thanks!
It’s not a message I’ve seen, and Googling for it doesn’t show anything obviously related.
You can identify where it comes from by stepping through the program with gdb until the message appears. Alternatively, one can sprinkle some timing delays, “I am here” statements, or input prompts to discover suspect portions of the logic.
< < < (edit) > > >
To use
gdb, first be sure to compile and link with debug symbols. With either gcc or g++, just add-gto the command line. It’s also often helpful to eliminate any compiler optimizations since those can sometimes make stepping through the program non-intuitive.