home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / database / informix / 1746 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  2.1 KB

  1. Path: sparky!uunet!pipex!demon!salmon.demon.co.uk!neil
  2. Newsgroups: comp.databases.informix
  3. From: neil@salmon.demon.co.uk ("Neil S. Briscoe")
  4. Subject: Redeclaration of local variables (?)
  5. Date: Wed, 19 Aug 1992 15:13:41 +0000
  6. Message-ID: <9208191513.AA03223@salmon.demon.co.uk>
  7. Sender: usenet@gate.demon.co.uk
  8. Lines: 45
  9.  
  10. Platform: Sun 3/100, SunOS4.1
  11. INFORMIX-4GL Version 4.00.UD3 with an INFORMIX-SQL Version 4.00.UD4
  12. Standard Engine.
  13.  
  14. I had the message:
  15. ut_merge.c Line 4351 redeclaration of prepare_sel_
  16.  
  17. followed by the usual fatal error diagnostics from make.  The same
  18. module makes fine under Version 4.1 on a SPARC and on 1.10.00B on a
  19. SunOS3.5 machine.
  20.  
  21. When I checked the source module, prepare_sel_ is a *local* variable
  22. defined in three separate functions.  It's used for the same purpose
  23. in each, to put the results of a CONSTRUCT statement in.  In two of
  24. these functions it was defined as a CHAR(300) and in one as a
  25. CHAR(500).  It shouldn't matter surely.  As a local definition in each
  26. function, it should get it's own allocation irrespective of any other
  27. local variable of the same name.
  28.  
  29. Yes, I know this is 4.0 and we did try to avoid getting this because
  30. of what I've read in this group before.  However, I'm told that
  31. Informix have not ported 4.1 to this platform and, as it's going out
  32. of fashion, I doubt if they ever will.
  33.  
  34. I got round the problem by changing the defines in the other two
  35. functions to CHAR(500), but sheesh, this is probably only the first of
  36. many strange bugs that I'm going to find.
  37.  
  38. Anybody got the list of defacto bugs for this release?
  39.  
  40. Regards
  41. Neil
  42.  
  43. Neil S. Briscoe                Telephone: +44 252 376737
  44. System Administrator            Fax:       +44 252 376644
  45.                                         Email: neil@salmon.demon.co.uk
  46.                                                nbriscoe@cix.compulink.co.uk
  47. Bartec Medical Systems Ltd.
  48. Impression House
  49. Invincible Road                "!##@!** Listen who swears
  50. Farnborough                 Christopher Robin has fallen downstairs"
  51. Hants GU14 7NP                -- The Goodies Book of Criminal Records
  52. England
  53. "A man is incomplete until he's married -- then he's finished!"
  54. -- Seen on a desktop calendar.
  55.