-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fixed #14179 - updated simplecpp to 1.6.1 / hooked up simplecpp::C2Y
#7860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
e8c35aa
to
700aeaf
Compare
simplecpp::C23
simplecpp::C2Y
simplecpp::C2Y
simplecpp::C2Y
700aeaf
to
89b948d
Compare
I would appreciate if you can try to merge this even though the mingw is not added yet. |
there are users that are eager to start using cppcheck with the performance improvement even if it is a dev-version. |
and I am eager to integrate simplecpp so we can see what daca says :-) |
I reckon the MinGW issue has always been there but was only exposed by the added tests. I have no looked into it yet. We should try not to release 2.19.0 without it - or at least publish an immediate 2.19.1 with the fixes. The MinGW CI in Cppcheck also needs to be brought in line with simplecpp which might unearth further issues. And in turn simplecpp probably also needs to add Cygwin. But that would be fine for the next dev cycle. |
I published danmar/simplecpp#563 as a fix for the Visual Studio build failures. |
I am confused by this:
Does it somehow try to preprocess simplecpp.cpp and check.cpp into 1 translation unit? I remember a couple of months ago that we had a static function in simplecpp and got some weird problem when bumping simplecpp because there was a function in cppcheck core with the same name. I thought it was weird but we made a quick hack in simplecpp and added a |
I wonder if we should try to ensure that check.cpp and simplecpp.cpp are compiled separately instead? Is there something wrong with our cppcheck build.. |
No - that simply happens because the Visual Studio project already specifies the define (which is how most projects do it). |
Nothing wrong here - just a simple oversight. |
ok. I assume that we can merge the mingw PR into simplecpp in the next 2-3 weeks at least.. and then make a 1.6.x tag in simplecpp soon after that. I do not feel that we will make a 2.19.0 release in october.. |
alright that sounds reasonable! |
callgrind from CI: |
simplecpp::C2Y
simplecpp::C2Y
|
No description provided.