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

Remove path prefix in RNP_LOG #2297

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

desvxx
Copy link
Contributor

@desvxx desvxx commented Dec 5, 2024

fixes #2146

@desvxx desvxx force-pushed the desvxx-2146-remove-prefix-in-rnp_log branch from 8e1ea80 to eef0043 Compare December 5, 2024 21:00
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.81%. Comparing base (ddcbaa9) to head (eef0043).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2297   +/-   ##
=======================================
  Coverage   84.81%   84.81%           
=======================================
  Files         116      116           
  Lines       23346    23346           
=======================================
  Hits        19802    19802           
  Misses       3544     3544           

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

Copy link
Member

@maxirmx maxirmx left a comment

Choose a reason for hiding this comment

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

This is based on the assumption that compiler sets FILE to the file name from the command line.

I am not sure if it works for MSVC

@desvxx
Copy link
Contributor Author

desvxx commented Dec 11, 2024

This is based on the assumption that compiler sets FILE to the file name from the command line.

I am not sure if it works for MSVC

https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170

Indeed, looks like we need /FC option for msvc.

@maxirmx
Copy link
Member

maxirmx commented Dec 11, 2024

https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170

Indeed, looks like we need /FC option for msvc.

I think it is safe to add /FC option

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.

Do not print a full source path in RNP_LOG.
2 participants