Oliver Stöneberg
Oliver Stöneberg
The test is unconditionally removing all comments (addressed in #506) leading to tests which test the behavior of such not actually testing it since they did not materialize in the...
`a.h` ```cpp int h; ``` `a.cpp` ```cpp #include "/s/GitHub/simplecpp-fw/a.h" int i; ``` ``` $ ./simplecpp -l a.cpp 1: 2: 3: int i ; a.cpp:1: missing header: Header not found: "/s/GitHub/simplecpp-fw/a.h"...
The last simplecpp bump had to revert two PRs because they did not work with Cppcheck. We need to find a way to detect these issues before integration them downstream....
```cpp #define DEF_1 void f() { #ifdef DEF_1 int i; #endif } ``` ``` $ ./simplecpp -UDEF_1 test.cpp void f ( ) { } ```
```cpp void f() { #ifdef DEF_1 int i; #endif } ``` ``` $ ./simplecpp -DDEF_1 -UDEF_1 -DDEF_1 test.cpp void f ( ) { } ```