GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #9287

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Eike Lange
Subject: x-window programming
Date: 31 Aug 2003, 09:33:02

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

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Frank Heckenbach x-window programming 31 Aug 2003, 10:25:27
Anders Lindén x-window programming 31 Aug 2003, 11:02:30
Eike Lange x-window programming 31 Aug 2003, 11:35:05

In reply to

Author Subject Date
Anders Lindén x-window programming 30 Aug 2003, 12:07:34
Eike Lange x-window programming 30 Aug 2003, 15:17:13
Anders Lindén x-window programming 30 Aug 2003, 23:24:19

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).