Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SFH_ASSERT: Output error message when debugging tests
The INFO function is only available when igortest is included. There are several ways to achieve the validity on compilation: 1. Check if the function exists with #ifdef (as done here) 2. Determining the function dynamically through FUNCREF 3. Conditionally recompile with dynamically added defines 4. Provide a "null" function in MIES with the same signature. Disadvantages: 1. does not scale well, only applies to a single function 2. needs a prototype function in MIES and will fail if function signature changes in igortest 3. Allows larger codeblocks with external functions but does not scale well and rather slow 4. needs like 2 a function with the same signature as in igortest We decided for 1 as it seems to impose the smallest disadvantages
- Loading branch information