From: newkerk@zso.dec.com (Oscar Newkerk)
Subject: Re: C++, DECstations, and Motif (Q)
Date: Mon, 23 Nov 1992 23:55:53 GMT [thread overview]
Message-ID: <1992Nov23.235553.4366@ninja.zso.dec.com> (raw)
In-Reply-To: 3804@creatures.cs.vt.edu
In article <3804@creatures.cs.vt.edu>, tlee@csgrad.cs.vt.edu (Timothy Lee) writes:
>From: tlee@csgrad.cs.vt.edu (Timothy Lee)
>Newsgroups: comp.sys.dec,comp.windows.x.motif,comp.windows.x,comp.std.c++,comp.lang.c++
>Subject: C++, DECstations, and Motif (Q)
>Organization: VPI&SU Computer Science Department, Blacksburg, VA
Writes.
>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.
>
>
I think that your basic problem is that the Motif header files are not set up
for C++. If you get the latest version of the DEC C++ compiler ( Version 1.2
shipping in December) then it includes the Motif header files that will work
with DEC C++. I know that these work with DEC C++, I don't know if they have
been tested with g++ or any other C++ implementation.
Note also that these headers are for Motif V1.1.3
prev parent reply other threads:[~1992-11-23 23:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox