home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aux / 3235 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!sun-barr!sh.wide!wnoc-tyo-news!etl.go.jp!weigert
  3. From: weigert@etlhit.etl.go.jp (Thomas Weigert)
  4. Subject: Q. re: dir.h
  5. Message-ID: <WEIGERT.92Aug26135535@etlhit.etl.go.jp>
  6. Sender: news@etl.go.jp (News System)
  7. Nntp-Posting-Host: etlhit
  8. Reply-To: weigert@mcs.anl.gov
  9. Organization: Electrotechnical Laboratory, Tsukuba-shi, Japan
  10. Date: Wed, 26 Aug 1992 04:55:35 GMT
  11. Lines: 26
  12.  
  13.  
  14. Often, when porting software that compiles fine on all kinds of unix boxes
  15. over to A/UX, I run into the following difficulty:
  16.  
  17. Almost unfailingly, when dir.h is included, the compiler complains about
  18. "parsing problems before *", and the offending lines typically are
  19.  
  20.    telldir (DIR *dirp);
  21.  
  22. or any of the other functions that have DIR as their type. 
  23.  
  24. Unfortunately, I know very little about C (I just read it, and eventually,
  25. by trial and error and the little mac porting skills I acquired that way, I
  26. get the programs going). I would apopreciate very much if somebody could
  27. explain to me what the problem is in this case, and what to do about it. 
  28.  
  29. Any hints are welcome. Cheers, Thomas.
  30.  
  31. --
  32. +--------------------------------+---------------------------------+
  33. | Thomas Weigert                 |                                 |
  34. | Machine Inference Section      |                                 |
  35. | Electrotechnical Laboratory    |                                 |
  36. | Umezono 1-1-4, Tukuba-shi      | weigert@{mcs.anl.gov,etl.go.jp} |
  37. | Ibaraki 305, Japan             | +81-298-58-5918 (phone+fax)     |
  38. +--------------------------------+---------------------------------+
  39.