🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++
Article #280

Xt under g++

#280
From: Charles Earl
Date: Wed, 08 Aug 1990 15:07
23 lines
1015 bytes
In some initial attempts to compile and link g++ sources using the X Intrinsics
plus X Widget set, I noticed some errors. Namely the g++ compiler has problems
with the declaration

typedef char *String;

in Intrinsic.h. Linking seems to fail (link with X11,Xw,Xt,Xaw,Xmu,g++)
complaining about Xlib functions not being found. (e.g. XFillRectangle).

I suspect that either (a) I'm forgetting to add an important include file/lib
or (b) the g++ connection to X is only robust given some kit like Interviews,
etc. Anyway, seems as though attempting to write Xt applications in g++ should
be somewhat common.

Refs appreciated.

Confused.

Charles Earl
ILS
(708)467-1004
 
Technical Details
Message-ID: <1306@anaxagoras.ils.nwu.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mailrus!accuvax.nwu.edu!anaxagoras!aristotle!cearl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mailrus!accuvax.nwu.edu!anaxagoras!aristotle!cearl
From: cearl@aristotle.ils.nwu.edu (Charles Earl)
Newsgroups: gnu.g++,comp.windows.x,comp.lang.c++
Subject: Xt under g++
Message-ID: <1306@anaxagoras.ils.nwu.edu>
Date: 8 Aug 90 15:07:38 GMT
Sender: news@anaxagoras.ils.nwu.edu
Lines: 23