delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/05/09/00:56:38

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Tue, 08 May 2012 23:42:54 -0500
From: "John Wright" <john AT wacontrols DOT com>
To: djgpp AT delorie DOT com
Disposition-Notification-To: "John Wright" <john AT wacontrols DOT com>
Subject: Xlib example program compile error
Message-ID: <14d4867cb19a21120924dee9678cea6d@wacontrols.com>
X-Mailer: IceWarp Web Mail 5.6.7
X-Originating-IP: 74.195.32.239
MIME-Version: 1.0
Reply-To: "John Wright" <john AT wacontrols DOT com>

I cannot track down the compile problem in this program. The program demonstrates how to setup an event handler context management structure to better manage event handling for multiple child windows. The problem seems to be related to the local header file "xwins.h" which has a #ifndef #else declarations. This program is a continuation of a previous example that compiles fine. Most of the compile errors are related to undeclared structure members. Storage is not being allocated in some way?? I'm sure this is simple, but I just can't see it.

Eventually, I want to port and compile some of these examples using DJGPP V1.12 and Xlib200 stuff.

This is X11R3 code. I'm compiling with gcc 2.7.2.3 using RedHat 6.22. I included xctest.tar.gz. If it gets excluded from this, then I will be glad to forward to whoever is interested in helping me with this problem. The "xwin.h" and compiler error messages are not too long, so I can post them if it is necessary.

Any help would be appreciated.

jw

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019