home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!umn.edu!AHPCRC.umn.edu!felix
- From: felix@AHPCRC.umn.edu (Paul Felix)
- Subject: Re: compiling X/Motif with C++ v2.1.1
- Message-ID: <1992Aug15.213352.15934@news2.cis.umn.edu>
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Nntp-Posting-Host: pi32.arc.umn.edu
- Organization: AHPCRC
- References: <1992Aug13.192349.2810@vlsi.polymtl.ca>
- Date: Sat, 15 Aug 1992 21:33:52 GMT
- Lines: 29
-
- > I'm trying to compile a program written in mixed model
- > with SGI's C++ v2.1.1 but for every call to a X command
- > the compiler gives the next error :
- >
- >
- > error : unexpected 1 argument for Xt...
-
- It appears that the function prototypes are not getting defined.
-
- Wow, it's hard to get that error. I can't get that error on my SGI
- with Irix 4.0.1 and SGI's C++. Is your compiler finding the X include
- files in /usr/include/X11, or is it finding another set that you got
- from somewhere else?
-
- If you're not using the Imake utility, I recommend that you do. Make
- sure that you define the macros FUNCPROTO and XTFUNCPROTO. This should
- ensure that the prototypes get defined in the X11R4 include files on
- your Indigo or on any other machine.
-
- --
-
- Paul
- ________________________________________________________________________
-
- Paul Felix felix@ahpcrc.umn.edu
- AHPCRC/University of Minnesota (612) 626-8084
- 1100 Washington Ave. So.
- Minneapolis, MN 55415
- ________________________________________________________________________
-