| Title: | DECC |
| Notice: | General DEC C discussions |
| Moderator: | TLE::D_SMITH N TE |
| Created: | Fri Nov 13 1992 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 2212 |
| Total number of notes: | 11045 |
With VMS version 7.0 (and later) there are several implementations for localtime. To have backward compatibility with V6.x versions one has to define the macro _VMS_V6_SOURCE. Unfortunately my partner didn't. Now he tries to link the under V7.1 compiled objects on a V6.2 system. The linker complains that 2 symbols are undefined: DECC$__UTCTZ_LOCALTIME, DECC$__UTC_TIME. It seems that only one source calls localtime. Is it enough to re-compile just this source or are there other backward incompatibilites (i.e. do they have to re-compile all their sources)? Thanks, Hartmut
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 2163.1 | TLE::D_SMITH | Duane Smith -- DEC C RTL | Fri Apr 25 1997 07:23 | 10 | |
The proper way to do this is to compile using
/DEFINE=__VMS_VER=60200000
By the undefined globals, both time() and localtime() are being called
from the source. If I were doing this, I would look at the list of
modules which the linker (on 6.2) says are making these references and
recompile at least that set of modules.
Duane
| |||||