home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / std / c / 2970 < prev    next >
Encoding:
Text File  |  1992-11-06  |  867 b   |  31 lines

  1. Newsgroups: comp.std.c
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!decwrl!netcomsv!netcom.com!rfg
  3. From: rfg@netcom.com (Ronald F. Guilmette)
  4. Subject: A declarations without any declarators.
  5. Message-ID: <1992Nov6.013858.736@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. Date: Fri, 6 Nov 1992 01:38:58 GMT
  8. Lines: 21
  9.  
  10. Can we all agree that:
  11.  
  12.     typedef float;
  13.  
  14. ... violates the first constraint in section 3.5?
  15.  
  16. Good.  Now what about these odd looking declarations:
  17.  
  18.     typedef struct S;
  19.     typedef enum { red, green, blue };
  20.  
  21. It appears that these are standard conforming, yes?
  22.  
  23.  
  24. -- 
  25.  
  26. // Ron ("Loose Cannon") Guilmette
  27. // uucp: ...uunet!lupine!segfault!rfg
  28. // New new motto:  Quality control is a state of mind.
  29. //   misc.forsale.computers ad, circa 2007:
  30. //       Used Cray wrist watch for sale; 25 bucks or best offer.
  31.