home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 13261 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  716 b 

  1. Path: sparky!uunet!contex!felix.contex.com!avinash
  2. From: avinash@felix.contex.com (Avinash Chopde)
  3. Newsgroups: comp.sys.sgi
  4. Subject: X programs in C++, why do they need -DFUNCPROTO ?
  5. Message-ID: <2921@contex.contex.com>
  6. Date: 3 Sep 92 21:07:56 GMT
  7. Sender: news@contex.contex.com
  8. Lines: 12
  9.  
  10. I had to provide a -DFUNCPROTO option to the C++ compiler (2.11 and 3.10)
  11. to compile a X program.
  12. Without -DFUNCPROTO, the prototypes for XtInitialize(..), etc are not
  13. included.
  14.  
  15. Now, is this normal behavior, or is there some other procedure
  16. to compile C++ X programs ?
  17. Thanks for any help....
  18. -- 
  19. ---------------------------
  20. Avinash Chopde         office : 617 246 1776x5582
  21. avinash@contex.com     (...!uunet!contex!avinash)
  22.