-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fix #13894 (Update simplecpp to 1.4.2) #7554
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
base: main
Are you sure you want to change the base?
Conversation
@Tal500 the CI fails because:
could you comment on this. would it make sense to use the absolute path here ? I don't have a very strong opinion but at least the absolute path is shorter. |
This is a tricky question. The idea is that relativiness is determined only by the inlcude paths and the include dirs(-I), and since I didn't want to make things more complicated, I didn't want it to be dependant on whether the cpp files that are given in the You can write your comments here, but I will be N/A for a few days now |
hmm spontanously this sounds like how I want it to work. If I provide the |
@Tal500 in this case there is no include dir specified:
and imho the absolute path would be preferable in this case. |
So stating this clearly, the choice algorithm for determination of relative or absolute flavor (always w.r.t. the
Whenever the same file is introduced twice or more, only the first occurrence that simplecpp sees will determine the absoluteness flavor. Note: excluding 1, this is the current behaviour. WDUT? Shall we implement it this way? Testing the new condition 1 is supposed to be easy now in our integration testing suite. |
@Tal500 sorry for late reply. I think let's try this. |
implemented in danmar/simplecpp#444 |
No description provided.