home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!mcsun!sun4nl!alchemy!prisma!rvloon
- From: rvloon@cv.ruu.nl (Ronald van Loon)
- Subject: Re: X programs in C++, why do they need -DFUNCPROTO ?
- Originator: rvloon@triton.cv.ruu.nl
- Sender: usenet@cv.ruu.nl (Usenet Network)
- Message-ID: <1992Sep4.093024.14005@cv.ruu.nl>
- Date: Fri, 4 Sep 1992 09:30:24 GMT
- References: <2921@contex.contex.com> <stefans.715590745@bauv106>
- Nntp-Posting-Host: triton.cv.ruu.nl
- Organization: University of Utrecht, 3D Computer Vision Research Group
- Lines: 25
-
- In <stefans.715590745@bauv106> stefans@bauv106.bauv.unibw-muenchen.de (Stefan Schwarz) writes:
-
- |"avinash@felix.contex.com (Avinash Chopde) writes:
- |"
- |">I had to provide a -DFUNCPROTO option to the C++ compiler (2.11 and 3.10)
- |">to compile a X program.
- |">Without -DFUNCPROTO, the prototypes for XtInitialize(..), etc are not
- |">included.
- |"
- |">Now, is this normal behavior, or is there some other procedure
- |">to compile C++ X programs ?
- |"
- |"Don't care about such hardware-dependent options. They are different on
- |"nearly every platform. You should always use imake to build X-applications,
- |"which cares about such specific options.
- |"
- |"Stefan
-
- There is no *specific* C++ support for Imake. I had to add my own stuff for
- the Motif C++ bindings to take care of that.
- --
- Ronald van Loon (rvloon@cv.ruu.nl) 3DCV Group, Utrecht, The Netherlands.
-
- "I believe the word you are looking for is "AAAAAAAAAARRRRRRRRRRGGGGGHHHH!"
- - The Penguin (Batman ][)
-