Repository navigation
[KEMField] Test programs compile now without stopping the build process - #159
Conversation
…nction for adding rectangles to the model.
|
Looks great! Should we run these applications as part of our automatic test pipeline? |
|
I think this pull request is interim. |
|
Somehow both this branch is locked from edit from maintainers and Pull Requests on your fork are locked, so I can't add the code myself. But I'd suggest adding |
|
After that, I'd suggest to merge this. |
Hi everyone!
Compilation errors occur with KEMField test programs. These errors can be solved through adding void statements incorporating if cnditions into existing switch statements.
Furthermore default values for TestDielectrics have been set.
In various test files counter variable i (will be used inside loop, compiler does not recognize):
=> solved by adding "(void) i"
In addition following compilation error occurs:
error: result of comparison of constant -1 with expression of type 'char' is always false [-Werror,-Wtautological-constant-out-of-range-compare]
In these cases the if statement has been incorporated to the switch condition:
as
Thanks,
Daniel