On Sat, Aug 30, 2003 at 11:24:19PM +0200, Anders Lindén wrote:
The unit "xlib" is giving me an error (sorry for being a newbie). The error is: (T)WCharT size mismatch!
WCharT is mentioned in Line 700f and there is a Test in Line 3791:
if CSizeofWCharT <> PSizeofTWCharT then begin WriteLn (StdErr, '(T)WCharT size mismatch!'); Halt end;
Could you please insert a line just before `halt' like this: WriteLn (StdErr, 'WCharT: ', CSizeofWCharT, ' TWCharT: ', PSizeofTWCharT);
Background: I assume, that WCharT is as big as a `MedInt' (Line 700f) what is correct for Debian GNU/Linux on Intel architecture. Different architectures may have different wide Character implementations (sounds silly, I know).
If you can find out (by the given extra line above), how big a WideCharacter on your system is, you could change the type definition by yourself, and mail me your results.
As this is the first test, there may be lots of other test failing. If every size test fails you may have a broken XLib installation (or me...) :-(
Did you try to run the test program (xtest.pas)?
So please try out the above line, report your architecture and your XLib Version (on top of Xlib.h) and the result of your test.
Eike