Home » U++ Library support » U++ Core » CHECK macro
CHECK macro [message #5993] |
Fri, 27 October 2006 03:26  |
exolon
Messages: 62 Registered: July 2006 Location: 53'21N 6'18W
|
Member |
|
|
Hi, I was wondering if anyone can explain the purpose of the CHECK macro defined in Core/Diag.h? Is it an assertion macro?
It's a very generic name, and since macros seem to have no scope or namespaces (I don't know much about preprocessor stuff since I don't use it much), it conflicts in my case with the unit testing library I use (UnitTest++). This means I either have to rename the macro in the testing library which doesn't seem right, or rename the one in Diag.h and wherever it's used. This is what I've done before, but I don't like having to do it every time I move to the next version of UPP. It causes trouble when I include Core/Core.h to use the String class, for example.
Does anyone have any ideas about handling this more easily?
|
|
|
Goto Forum:
Current Time: Sun Apr 27 22:20:10 CEST 2025
Total time taken to generate the page: 0.00983 seconds
|