home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / g / help / 1189 < prev    next >
Encoding:
Text File  |  1992-09-04  |  1.2 KB  |  38 lines

  1. Newsgroups: gnu.g++.help
  2. Path: sparky!uunet!destroyer!news.iastate.edu!moharil
  3. From: moharil@cs.iastate.edu (Vinay Arvind Moharil)
  4. Subject: Parse errors in Xlib.h file HELP!!
  5. Message-ID: <moharil.715624515@judy.cs.iastate.edu>
  6. Keywords: Xlib.h, parse error
  7. Sender: news@news.iastate.edu (USENET News System)
  8. Organization: Iowa State University, Ames IA
  9. Date: Fri, 4 Sep 1992 16:35:15 GMT
  10. Lines: 26
  11.  
  12. Hi netters!
  13.  
  14. I am sorry if this is an FAQ.
  15.  
  16. I am trying to use  the gcc-2.2.2 on Ultrix 4.2. One of my applications
  17. require me to include the X11/Intrinsic.h file which in turn includes the
  18. X11/Xlib.h file. When I try to compile the file with gcc-2.2.2 I get parse
  19. errors in the Xlib.h file. 
  20.  
  21. One of the system persons at my site informed me that since the Xlib.h file
  22. is not in the ANSI C format the gcc-2.2.2 will not be able to parse it.
  23. However, as I found it some what hard to believe immediately, I wanted to know
  24. if some flag needs to be set in the source code for this(like XTFUNCPROTO).
  25.  
  26. It would be great if this problem cn be solved because without this I am 
  27. totally stuck.
  28.  
  29. Any help/suggestions are greatly appreciated.
  30.  
  31. Thanks in advance,
  32. bye
  33. vinay
  34.  
  35. moharil@judy.cs.iastate.edu
  36. (515)-294-1546
  37.  
  38.