pFUnit icon indicating copy to clipboard operation
pFUnit copied to clipboard

Fix windows line markers

Open melven opened this issue 8 months ago • 4 comments

In our Windows setup, python sysconfig.get_platform() results in win-amd64. So we get the wrong path separator in generated source files (\ instead of /) which leads to compiler errors.

melven avatar Apr 17 '25 17:04 melven

Not sure if this could break the setup for other people if there are Windows Fortran compilers that actually want to have:

#line C:\Some\Path\to\file.pfunit

instead of

#line C:/Some/Path/to/file.pfunit

melven avatar Apr 17 '25 17:04 melven

Ah - needs a line in the ChangeLog please.

tclune avatar Apr 17 '25 18:04 tclune

@melven We'd like to release this soon, could you add an entry to the changelog?

mathomp4 avatar Apr 21 '25 16:04 mathomp4

Updated changelog.

melven avatar Apr 30 '25 10:04 melven

@melven Apologies - I've been distracted by other projects. If you think this PR is ready for windows, I'll go ahead and merge and do a release.

tclune avatar Jul 22 '25 14:07 tclune

It's ready!

melven avatar Jul 22 '25 14:07 melven