home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!wupost!darwin.sura.net!jvnc.net!yale.edu!nigel.msen.com!math.fu-berlin.de!informatik.tu-muenchen.de!LRZnews!bauv106!bauv106!stefans
- From: stefans@bauv106.bauv.unibw-muenchen.de (Stefan Schwarz)
- Subject: Re: X programs in C++, why do they need -DFUNCPROTO ?
- Message-ID: <stefans.715590745@bauv106>
- Organization: Universitaet der Bundeswehr Muenchen (Germany)
- References: <2921@contex.contex.com>
- Date: Fri, 4 Sep 1992 07:12:25 GMT
- Lines: 15
-
- 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
- --
- ________________________________________________________________________________
- Stefan Schwarz University of the armed forces, Munich
- Laboratory for graphical data processing W-8014 Neubiberg, FRG
- --------------------------------------------------------------------------------
-