Hi !
I've installed mingw32 with gcc 3.2.3 and gpc 20030507 and I am in serious trouble while translating bp-projects to gpc. While compiling I get several "previos declaration does not match" errors within the same unit or across different ones, although the syntax is allright. (An asm-free translation of objects.pas successful compiled only after moving "uses dos" from the "implementation" to the "interface" part)
Then there are several "type mismatch" errors in functions with one var-parameter, which I cannot mark as protected. (Someone mentioned this allready, but still noone has replied to it)
To get progress in translation I start to compile only single units without linking and then I was fooled sometimes by this error message "--amtmpfile not given". Some units will being compiled and other not like
------------------------------
Unit tv_spr;
Interface
Const spOk = 1; spAbbruch = 2; spJa = 3; spNein = 4;
implementation
end. -----------------------------------------
the commandline I used is
gpc -c -s --no-typed-address --extended-syntax --ignore-function-results --io-checking --no-stack-checking -march=i486 -mcpu=i486 --unit-path=g: \status\entwicklung\mdmprot\gpc\mdtv_may;g:\status\entwicklung\mdmprot\gpc\md_may;g:\status\entwicklung\mdmprot\gpc\source -Ig:\status\entwicklung \mdmprot\gpc\mdtv_may --cidefine=GPC_USE --cidefine=DPMI --cidefine=NOASM --cidefine=test --cidefine=USE_PDCURSES -- cidefine=LINODATA --cidefine=HARDDUMMY --executable-file-name unit.pas
Greetings, Thomas