Ok, I'm trying to use the svn version under windows (I usually do that under linux, but up until now I just used the snapshots under windows) and I cannot compile.
Given that the file with errors hasn't been updated in a while and there's a snapshot for today, I'm surely doing something stupid. I installed the fpc-2.2.2 using the binary installer, it's at its default location (c:\fpc\2.2.2), c:\fpc\2.2.2\bin\i386-win32 is in the path and no other version of fpc is.
c:\fpc\2.2.2\bin\i386-win32\fpc.cfg seems ok (compared that the one that's in the snapshot, the only difference is obviously in the paths) and there's no other fpc.cfg in sight (apart from the one in the snapshot, but that's not in the path).
Just in case, I also renamed the lazarus configuration directory (under c:\documents and settings)
(I'm omitting the result of make clean)
C:\lazsvn>make
make -C lcl all
make[1]: Entering directory `C:/lazsvn/lcl'
C:/FPC/2.2.2/bin/i386-Win32/rm.exe -f units/i386-win32/alllclunits.ppu C:/FPC/2.2.2/bin/i386-Win32/ppc386.exe -gl -Fu. -Fuforms -Fuwidgetset -Fiinclude
-FE. -FUunits/i386-win32 -di386 alllclunits.pp
Free Pascal Compiler version 2.2.2 [2008/08/03] for i386 Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Win32 for i386
Compiling alllclunits.pp
Compiling lclversion.pas
Compiling lclstrconsts.pas
Writing Resource String Table file: lclstrconsts.rst Compiling fpcadds.pas
Compiling lazlinkedlist.pas
Compiling dynhasharray.pp
Compiling lclproc.pas
Compiling avglvltree.pas
Compiling fileutil.pas
Compiling masks.pas
Compiling lclproc.pas
Compiling fileutil.pas
fileutil.inc(844,38) Error: Incompatible type for arg no. 1: Got "AnsiString", expected "PChar"
fileutil.inc(868,69) Error: Wrong number of parameters specified for call to "GetEnvironmentVariable"
fileutil.inc(889,28) Error: Incompatible type for arg no. 1: Got "AnsiString", expected "PChar"
fileutil.pas(271) Fatal: There were 3 errors compiling module, stopping Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `C:/lazsvn/lcl'
make: *** [lcl] Error 2
Bye
