Replies: 2 comments 2 replies
-
Which compiler are you using? I am not seeing these warnings in clang... |
Beta Was this translation helpful? Give feedback.
-
I use g++-13.3.0 with a conan1 (not yet conan2) recipe that packaged mcap. The recipe is inspired from https://github.com/foxglove/mcap/blob/main/cpp/mcap/conanfile.py with minor changes needed to integrate our workflow (adding -Wshadow on the fly to g++). At first, I believed the problem may be in connection with the conan integration, but, after looking at it closely the errors sounds indeed valid. I attach the full log that lists warnings to be fixed in mcap AFAIU. Would be great to compile mcap with gcc without warnings using these flags: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use mcap/2.0.2 packaged by conan.
When I include mcap files like so:
I get a bunch of warnings like this:
These are only warnings but prevent from having a clean / strict set of compilation options.
My understanding is that the conan packaging is OK and that the related causes are indeed in the mcap library.
Is there a plan to patch mcap to pass -Wshadow in a coming future?
Beta Was this translation helpful? Give feedback.
All reactions