Code: Select all
Source kit:
http://antinode.info/ftp/unrar/unrar-5_9_4a_vms/unrar-5_9_4a_src.zip
My notes say that this all worked on VMS V9.2-1 with an older
compiler: clang version 10.0.1 (Build date: 07-31-2023). It still works
on IA64 VMS V8.4-2L3 with VSI C++ V7.4-006.
Now, on VMS V9.2-2, with CXX Build date: 11-28-2023 or VSI C++
V10.1-1 (Build date: 01-10-2024), the LINK fails:
%ILINK-W-NUDFSYMS, 1 undefined symbol:
%ILINK-I-UDFSYM, ERRHANDLER
%ILINK-W-USEUNDEF, undefined symbol ERRHANDLER referenced
[...]
Possibly relevant:
The compiles are done with "/names = uppercase".
The consumers all refer to "ErrHandler".
global.hpp should say: extern ErrorHandler ErrHandler;
/LIST does less than I'd've hoped. I haven't tried "-E".
My C++ expertise is (still) nil, so I don't follow it closely, and I
don't know if anything similar has been reported already.
I was looking at a newer UnRAR version (6.1.7) when I hit this. Not
the newest version (7.0.7), as newer ones seem to employ C++ 11
features.