OpenVms v6.1-1H2, DecC v4.1-001
The DecC compiler crashes when compiling a source code with follwoing problems:
a) nested comments
b) referencing undeclared variables
In case a) the compiler manages to flag the problem and then crashes.
Q - why does it crash ? Is there a more robust version of the compiler.
Case b) is more complicated.
The reason I know what the problem is, is that I compile the same code
on VAX (VMS5.5-2HW, VAX C v3.2-044) and it works, ie. the VAX C
compiler works - it flaggs the problems and does not crash. The
problems are two typing errors in variables decalrations that are
referenced later in the code.
When the problems are corrected - the source code is then successfully
compiled on Alpha with DecC. Q - again, why does the DecC compiler
crash?
Here without the alternative on the VAX it would be imposible to find
out the problem in our code. Could you suggest a more robust version
of the compiler.
Note again: the compiler crashes with access violation in module
SYMBOL_TABLE, routine get_member_else, line 11136 while compiling a
source file with a trivial typing error.
I hope that you might be able to help us out.
First of all, please understand that the "Ask the Wizard" feature is not
really intended for reporting problems with Digital software products other
than OpenVMS (and even for OpenVMS, it should be for asking questions, not
problem reporting). We ask that you contact Digital software support for
such issues in the future.
We can't reproduce the problem based on your description using the current
version of DEC C, V5.2. Since you didn't include sample source code, it's
difficult to analyze this further. Please install a more recent version of
DEC C (V4.1 is more than a year old and we have corrected many problems since
then) and, if the problem remains, report it through your Digital software
support contact.