Skip to content
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

Fixed lttng calls to not to cause compilation errors. #4366

Closed
wants to merge 1 commit into from

Conversation

ManickaP
Copy link
Member

Fixes #4365

Not sure if this a right way to fix this, but it's the only one that worked for me. (I tried adding warning exceptions into CMake, but I don't understand it well enough to be able to make it work)

@ManickaP ManickaP requested a review from a team as a code owner June 20, 2024 08:54
Copy link

codecov bot commented Jun 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.00%. Comparing base (f5bec53) to head (5c01f1e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4366      +/-   ##
==========================================
- Coverage   85.36%   85.00%   -0.37%     
==========================================
  Files          56       56              
  Lines       15426    15426              
==========================================
- Hits        13169    13113      -56     
- Misses       2257     2313      +56     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nibanks
Copy link
Member

nibanks commented Jun 20, 2024

As you can see from the CLOG / Validate failure, we cannot change these manually. They must be fixed upstream in microsoft/CLOG. I am curious why you are seeing these build failures, but our automation does not. The bug you opened doesn't seem to indicate what the difference might be.

@ManickaP
Copy link
Member Author

I did a bit more digging and it might be GCC, I'm on 14 and the docs for 13 are slightly different for this error:

And Ubuntu 24.04 is on gcc 13: https://packages.ubuntu.com/noble/gcc

As usual, I'm not on a "supported" distro (Arch), but most of the time I'm just ahead with the packages and they get eventually propagated to other distros as well.

Please let me know if you're willing to accept this change or not. I'll put up PR into CLOG, but I don't want to spend time on this if this would get rejected.

@nibanks
Copy link
Member

nibanks commented Jun 24, 2024

I agree with you, @ManickaP, that while we might not be hitting this yet, it's likely to come in the future, so it's good to get ahead of and fix it in CLOG. The project is mostly dotnet, so you (@ManickaP) probably can fix it faster than I can. 😄 Also, @chgray may have some time to help you with the CLOG stuff.

@ManickaP
Copy link
Member Author

Closing, replaced by PR in CLOG: microsoft/CLOG#112

@ManickaP ManickaP closed this Jun 25, 2024
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.

Cannot build MsQuic due to lttng compilation error
2 participants