Is there a way to make a C++ program drop core as soon as errno gets set?
In my program, a value in one of my classes is ending up NaN somewhere. It doesn't cause problems at that point, but later something tries to use it and it cores.
errno is getting set, but without adding all sorts of checks, how can I get it to drop immediately.
Thanks
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.