Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* g++ and Xt routine on a Redhat 5.0 system
@ 1998-03-05  5:00 Jeremy Schofield
  0 siblings, 0 replies; only message in thread
From: Jeremy Schofield @ 1998-03-05  5:00 UTC (permalink / raw)



Hello,
	I've been having problems running some code I wrote with a new 533 MHz
Durango II
system (from Aspen).  The following program compiles cleanly with both
gcc and g++ but the g++ version seg. faults when the Xt library function
XtVaAppInitialize is called.  It works fine on a Linux Pentium system
with an older version of Redhat (4.0).  Any ideas?
--------------- code ----------

#include <X11/Intrinsic.h> 

XtAppContext app_context;
Widget topLevel;

int main(int argc,char** argv){
    XtSetLanguageProc(NULL, (XtLanguageProc)NULL, NULL);
    

    
    topLevel = XtVaAppInitialize(
        &app_context,       /* Application context */
        "XBox1",            /* Application class */
        NULL, 0,            /* command line option list */
        &argc, argv,        /* command line args */
        NULL,               /* for missing app-defaults file */
        NULL);              /* terminate varargs list */

    return (0);
}
_________________________________end code __________________

	Thanks,
		Jeremy
-- 
Jeremy Schofield 
Chemical Physics Theory Group       telephone: 416-978-4376
Department of Chemistry             fax:       416-978-8775
University of Toronto
Toronto, Ontario M5S 3H6
Canada                          email: jmschofi@chem.utoronto.ca



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-03-05  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-05  5:00 g++ and Xt routine on a Redhat 5.0 system Jeremy Schofield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox