Skip to content

Conversation

@melroy89
Copy link

@melroy89 melroy89 commented Dec 17, 2025

  • Explain that the default build is a debug build (not a release build actually)
  • Also explain how to use cmake to install the compiled target to your machine (@danmar doesn't want this documented)
  • Improve markdown syntax
  • Update Japanese readme as well

cmake --build build
```

デフォルトのビルドタイプは `Debug` です。`Release` ビルドが必要な場合は、ビルドフラグ (上記の最初の `cmake` コマンドで) を使用できます。
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you know japanese well?

Copy link
Author

@melroy89 melroy89 Dec 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I'm wondering why you have a japense readme if you don't speak it 🤣? The Japanese readme is very outdated actually.

Copy link
Owner

@danmar danmar Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know any japanese.

It has been updated now and then by a japanese guy. I don't want to have some auto translations that we don't know if they are proper or not. So the choice should be either to:

  • find somebody that really speaks japanese that wants to maintain this
  • remove it

@fu7mu4 are you interested to review/update the file?

Copy link
Author

@melroy89 melroy89 Dec 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove what.. I think the cmake commands were outdated (like how to build it) so I would like to keep that to be honest.. but we can also remove the whole Japense readme file.


For building the tests use the flag.
-DBUILD_TESTS=ON
For rules support (requires pcre) use the flag: `-DHAVE_RULES=ON`
Copy link
Contributor

@autoantwort autoantwort Dec 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can use this change to explain what rules are and if one should enable it or not.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for information my idea is to get rid of pcre and use std::regex instead. the pcre library we use is end of life. there is work in progress..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep in mind that std::regex is very slow.

Do I need Rules support for the full functionality of cppcheck or only when I want to write custom rules?

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants