T.R | Title | User | Personal Name | Date | Lines |
---|
2158.1 | | DECWIN::JACKIE | Jackie Ferguson | Wed Jan 31 1990 16:31 | 7 |
| Some things have changed, the version of SDL changed, so that could effect
the output. The Xlib file conditionally defined the quadword and friends
definitions at the beginning, so if he is using the toolkit and xlib files,
put the toolkit one first. I don't think the toolkit people changed this.
The Xlib definition files all at least compile, there haven't been many
basic specific Xlib bugs, don't know about toolkit. If he has a list handy,
a QAR/SPR is probably the best thing to do.
|
2158.2 | | STAR::ORGOVAN | Vince Orgovan | Mon Feb 05 1990 18:34 | 3 |
| The .BAS files distributed with DECwindows didn't change much (if any)
between VMS V5.1 and V5.2. Your customer should probably go for V5.3
and QAR any problems that remain.
|
2158.3 | ...similar problem on 5.3-1... more detail | SELECT::BOGATY | Dan. | Wed May 16 1990 08:27 | 49 |
|
I just inherited some BASIC routines which show
similar problems when compiled. This happens on
VMS V5.3-1. (Unfortunately, the author is not available.)
The routine contains the following "includes":
%NOLIST
%INCLUDE "SYS$LIBRARY:DECW$DWTSTRUCT"
%INCLUDE "SYS$LIBRARY:DECW$XLIBDEF"
%LIST
On compilation, I get the following error:
"illegal multiple definition of name BASIC$F_FLOATING_COMPLEX"
(Changing the order of %includes as suggested in 2158.1 -> no
effect.)
I extracted what seems to be the problem from the files below.
Notice that decw$dwtdef.bas checks BASIC$F_FLOATING_COMPLEX_DECL
to see if the 'record' has been created, while decw$xlibdef.bas
checks "..._DECLA" (There's an extra "A" at the end.)
So one included file takes the action and sets ONE symbol
to indicate it's been done, and then the other file checks
a DIFFERENT symbol to see if it's been done.. and does it again.
Am I using 'old' included files? Has anyone else encountered
this on VMS V5.3-1? Any clues? Any workarounds?
decw$dwtdef.bas - (created by sdl 29-sep-1989)
--------------------------------------------
%IF %DECLARED(%BASIC$F_FLOATING_COMPLEX_DECL) = 0 %THEN
record BASIC$F_FLOATING_COMPLEX ^^^^
.
.
.
decw$xlibdef.bas - (created by sdl 29-sep-1989)
---------------------------------------------
%IF %DECLARED(%BASIC$F_FLOATING_COMPLEX_DECLA) = 0 %THEN
record BASIC$F_FLOATING_COMPLEX ^^^^^
.
.
.
|
2158.4 | Comment the offending definitions. | SCAM::DIAL | | Wed May 16 1990 11:51 | 5 |
| I am running 5.3 and Basic 3.4 and have encountered your problem with
the include files. The fix I used was to comment the offending
definitions.
Barry
|
2158.5 | ...may have to | SELECT::BOGATY | Dan. | Thu May 17 1990 09:19 | 10 |
| I may end up having to do that... It's a cluster-wide version, so I'd
have to make sure I'm not somehow screwing up someone else who may not
need both... maybe the best sol'n is to edit the file(s) so they all
use the SAME variable... THAT shouldn't hurt anyone. (famous last
words)
Anyway, thanks for the reply, I feel a little less nuts, at least.
Dan.
|