home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 13279 < prev    next >
Encoding:
Text File  |  1992-09-03  |  1.4 KB  |  39 lines

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