home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / database / informix / 1921 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  950 b 

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