Closed zoziha closed 10 months ago
Thanks for the bug report with a nice clear reproducer @zoziha, it's very much appreciated!
Oddly, I don't see the repeated source files, but instead the Source Files
tab doesn't work at all :frowning_face:
I can't reproduce the repeated source file. Please could you check that you don't have something like a temporary file that's getting picked up?
@ZedThree Maybe it has something to do with the fact that I'm using Windows OS, I'm getting 2x source file counts with Ford-v7.0 on both Windows computers, and there are people in Fortran Discourse who have had similar experiences. The ford-bugs repository is all the files, there should be no extra temp files?
Ah, I think this is because Windows filesystems are (by default) case insensitive, so when we get a list of files, the upper/lower case extensions (with/without preprocessor for gfortran on Linux) match the same files. I think it should be sufficient to change a list
to a set
It's good to see that FORD has released version 7.0, I did my first try and found three issues:
Page Code blocks do not have a background color, making it difficult to distinguish between the code block and the body.
When the Page code block is too wide, the style changes: the overall style appears to be shifted down. Ford-0.6 style:
Count the source file 1 time repeatedly.
Examples of specific projects can be found at repo: ford-bugs.