Fix #13894 (Update simplecpp to 1.4.3)#7554
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.