Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* C++, DECstations, and Motif (Q)
@ 1992-11-13 23:56 Timothy Lee
  1992-11-16 16:20 ` Daniel Dardailler
  1992-11-23 23:55 ` Oscar Newkerk
  0 siblings, 2 replies; 3+ messages in thread
From: Timothy Lee @ 1992-11-13 23:56 UTC (permalink / raw)


Hi everyone,

I have difficulties getting c++ compilers (CC, gcc, g++) to compile C++
programs that contain X/Motif resources.  Example:

	I have a C++ program that compiles and run correctly on a DECstation.
	After I add "#include <X11/Intrinsic.h>" (or any other X/Motif-related
	ones) to the source code, all of the above mentioned compilers will give 
	me compilation errors pointing to "Xlib.h".   There is no need to
	actually invoke a function call or use any X/Motif-defined type for
	erros to occur.

There is no problem running C++ program with Motif/X calls in RS/6000, but
problems arise in all the DECstations that I can test on.  These DECs are
running ULTRIX 4.1, and the include files are located in the DEC designated
directories.

Please don't tell me it *should* work.  I tried all I can think of, including
putting "extern" around the include files.  If someone has actually get it to 
work, please help.

Please send your helpful reply to:

	tlee@csgrad.cs.vt.edu		Tim Lee

P.S. Even the unmodifed source code from Douglas Young choked.  Young wrote a
book on getting C++ to work under Motif. 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1992-11-23 23:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-11-13 23:56 C++, DECstations, and Motif (Q) Timothy Lee
1992-11-16 16:20 ` Daniel Dardailler
1992-11-23 23:55 ` Oscar Newkerk

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