Closed philbucher closed 3 years ago
I am not sure if there is a reason for using the old style cast, please check
BTW you could consider making this file a system_header
like e.g. catch2 does, this way no warnings show up from it
#ifdef __clang__
# pragma clang system_header
#elif defined __GNUC__
# pragma GCC system_header
#endif
But then you would no longer see them during development I think Just a suggestion
Hi, thank you for the PR, indeed I didn't want to hide warnings, as I prefer to change to code to avoid them. Those old-style casts are a result of copying code from an old tooling file of mine and I should have replaced them, so thanks for fixing it.
cool thx!
This is a warning in GCC when using
-Wold-style-cast