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