GeezerVison is showing github.com — order of defines not respected · Issue #386 · cppcheck-opensource/simplecpp
order of defines not respected #386
Description
void f()
{
#ifdef DEF_1
int i;
#endif
}
$ ./simplecpp -DDEF_1 -UDEF_1 -DDEF_1 test.cpp
void f ( )
{
}
Activity
firewave commented on Nov 22, 2024
CollaboratorAuthor
More actions
$ gcc -DDEF_1 -UDEF_1 -DDEF_1 -save-temps input.cpp | cat a-input.ii
# 0 "input.cpp"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 0 "<command-line>" 2
# 1 "input.cpp"
void f()
{
int i;
}
added 4 commits that reference this issue
on Sep 24, 2025This issue will close once commit f4360e1 is merged into the 'master' branch.f4360e1 This issue will close once commit 107c9cf is merged into the 'master' branch.107c9cf This issue will close once commit 731e2e8 is merged into the 'master' branch.731e2e8 This issue will close once commit 2564153 is merged into the 'master' branch.2564153
Metadata
Metadata
Development
No branches or pull requestsIssue actions