home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!infmx!news
- From: cortesi@informix.com (David Cortesi)
- Newsgroups: comp.databases.informix
- Subject: Re: Help In creating a Struct in a .ec file
- Message-ID: <1992Sep13.183409.12258@informix.com>
- Date: 13 Sep 92 18:34:09 GMT
- References: <9512@emory.mathcs.emory.edu>
- Sender: news@informix.com (Usenet News)
- Reply-To: cortesi@informix.com
- Organization: Informix Software, Inc.
- Lines: 12
-
- In article <9512@emory.mathcs.emory.edu> randy@turq.b8.ingr.com (Randy Paries)
- writes:
- > If I create the struct in a module...
- [ example omitted]
- > This works fine. But If I move this struct into an .h file
- > I can't get it to compile...when I compile I get
- > "share.h", line 13: this declaration has no storage class or type specifier
-
- Change the #include to $include so that the file contents are
- included by the ESQL/C preprocessor.
-
- This is discussed on page 1-5 of the ESQL/C Programmer's Manual.
-