Maurice Lombardi wrote:
I got 2 failures under Mingw (I am running test_run directly). The failures look spurious to me:
TEST dostest.pas: gpc1.exe: warnings being treated as errors ./../units/system.pas: In function `MemAvail': ./../units/system.pas:634: warning: capitalisation of identifier `T' doesn't match ./../rts/gpc.pas:1620: warning: previous capitalisation `t' gpc1.exe: c:\mingw\bin\gpc.exe exited with status 1 failed
I'll fix this in the next version (since it was in the Windows-only code, I didn't catch them).
This is a consequence of the new warnings on different capitalisations. Run with -Wno-identifier-case (e.g. through EXTRA_TEST_PFLAGS) to eliminate. I have realized recently with horror than "identifier name conflicts" is really between identifier names, even if for pascal they are completely unrelated objects, i.e. two local identifiers in two different modules, like in this case. This is completely against any modularity concept.
Sorry, do we have to discuss this every week again?
Frank