When VERSION.; is in a directory that is to be searched by the CXX-compiler, released a few days ago, it crashes. (see example below). This did not happen with the previous CXX-compiler
Code: Select all
rumba-jj) cxx/vers
clang version 10.0.1 (git@bitbucket.org:vms_software/llvm-10.0.1.git 1a6bcdeb1db
d320d5898ab7723bb691325ce8bd5)
Build date: 07-18-2023
Target: x86_64-OpenVMS
Thread model: posix
InstalledDir: RUMBA$DKA100:[SYS0.SYSCOMMON.][SYSEXE]
rumba-jj) dir
Directory $DISK0:[JOUKJ.test.bugs.cxx.include]
test.cxx;99 VERSION.;1
Total of 2 files.
rumba-jj) ty VERSION.
0.15.1b
configure.ac:24
id3tag.h:338-341
msvc++/config.h:59,65,71
Makefile.am:63-65
rumba-jj) ty test.cxx
#include <math.h>
#include <stdio.h>
#include <inttypes.h>
int main()
{
return 0;
}
rumba-jj) cxx/inc=[] test.cxx
In file included from $DISK0:[JOUKJ.test.bugs.cxx.include]test.cxx;99:1:
In file included from /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/math.h:317:
In file included from /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/type_traits
:423:
In file included from /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/cstddef:43:
[]version:1:1: error: expected unqualified-id
0.15.1b
^
In file included from $DISK0:[JOUKJ.test.bugs.cxx.include]test.cxx;99:1:
In file included from /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/math.h:317:
In file included from /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/type_traits
:423:
/SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/cstddef:55:9: error: no member na
med 'ptrdiff_t' in the global namespace
using ::ptrdiff_t;
~~^
In file included from $DISK0:[JOUKJ.test.bugs.cxx.include]test.cxx;99:1:
In file included from /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/math.h:317:
In file included from /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/type_traits
:424:
[]version:1:1: error: expected unqualified-id
0.15.1b
^
In file included from $DISK0:[JOUKJ.test.bugs.cxx.include]test.cxx;99:1:
In file included from /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/math.h:318:
In file included from /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/limits:127:
[]version:1:1: error: expected unqualified-id
0.15.1b
^
4 errors generated.
rumba-jj)