home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 17916 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.9 KB  |  46 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!walker
  3. From: walker@twix.unx.sas.com (Doug Walker)
  4. Subject: Re: SAS 6.1 (ARGH!)
  5. Originator: walker@twix.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <C01Cyw.BC8@unx.sas.com>
  8. Date: Tue, 29 Dec 1992 19:32:56 GMT
  9. References:  <8824@orbit.cts.com>
  10. Nntp-Posting-Host: twix.unx.sas.com
  11. Organization: SAS Institute Inc.
  12. Lines: 32
  13.  
  14.  
  15. In article <8824@orbit.cts.com>, chucks@pnet51.orb.mn.org (Erik Funkenbusch) writes:
  16. |> Why, oh why could anyone imagine that supplying a struct 
  17. |> Window * in a TagItem would cause SAS 6.1 to not only complain, but reject the
  18. |> code as an Error 20:  invalid constant expression?  A TagItem does not use
  19. |> constants, and a window pointer is certainly not a constant...  This is
  20. |> annoying to say the least.
  21.  
  22. I can't tell for sure from your rather vague reference, but my guess
  23. is that you are attempting to intialize a static or extern struct
  24. TagItem with a variable.  This is illegal in C.  You cannot use
  25. expressions that cannot be evaluated at compile time to initialize
  26. static or extern data items.   If this is a wrong guess, please post
  27. the code that is producing the message and the actual text of
  28. the message.
  29.  
  30. |> I'd mail this to EMITS, however, as an idiot, (and the holidays) i haven't
  31. |> sent in my registration yet.  Today, i will however.
  32.  
  33. Please allow a little time... the tech support staff will be on
  34. holiday until Monday, January 4, and then I'm sure they will
  35. be backlogged for a few days.
  36.  
  37. -- 
  38.   *****
  39. =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
  40.  *|. o.| ||                                          1200/2400/9600 Dual
  41.   | o  |//     For all you do, this bug's for you!
  42.   ====== 
  43. usenet: walker@unx.sas.com                            bix: djwalker 
  44. Any opinions expressed are mine, not those of SAS Institute, Inc.
  45.  
  46.