home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19388 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  1.6 KB

  1. Xref: sparky comp.windows.x:19388 comp.windows.x.motif:7618
  2. Path: sparky!uunet!bcstec!sdy
  3. From: sdy@bcstec.boeing.com (Ugly Bag of Mostly Water)
  4. Newsgroups: comp.windows.x,comp.windows.x.motif
  5. Subject: need help with XtArgVal on an SGI
  6. Message-ID: <SDY.92Nov19132427@bcstec.boeing.com>
  7. Date: 19 Nov 92 21:24:27 GMT
  8. Sender: sdy@bcstec.ca.boeing.com
  9. Followup-To: comp.windows.x
  10. Distribution: comp
  11. Organization: Ringworld
  12. Lines: 30
  13.  
  14.  
  15. We're porting an X/Motif app (X11R4/Motif 1.1.1) to an SGI (sys V 4.0.5) and
  16. are having trouble compiling the source. This app successfully compiles and
  17. runs on an Apollo/HP and RS6000.
  18.  
  19. One specific problem seems to be that functions prototyped with XtArgVal (which
  20. is supposed to be size equivilent to XtPointer, char *, long, etc) generate
  21. compile errors when invoked with non-XtArgVal types. We have lots of these
  22. calls and don't necessarily want to go through and edit them all.
  23.  
  24. Also it seems that literal strings in the calling parameter list are not
  25. allowed either. 
  26.  
  27. I couldn't seem to find any options on cc that would help (I tried various
  28. forms of -ansi, -xansi, -prototypes, -cckr etc) and would appreciate any
  29. help. Surely someone must've ported older code to the SGI successfully.
  30.  
  31. Unfortunately using gcc is not an allowable option.
  32.  
  33. thanks.
  34.  
  35. steve.
  36.  
  37.  
  38. --
  39. Steven D. Yee                 >>>  my employer does not share my opinions   <<<
  40. sdy@bcstec.boeing.com         >>>   that's because I'm always right! =P     <<<
  41.        I supply creativity to another's mistake as a form of self hate,
  42.             What about your friends? Will they stand their ground?
  43.                    Will they let you down, again? -- T.L.C.
  44.