Gaussx
Frequently Asked Questions
FAQ342
When
compiling Gaussx, why do I get the error: "(0) : error G0276
: 'UNION': Illegal use of reserved word"?
This information
applies to Gaussx, Vsn 3.3 and prior.
Symptoms
The error message "error G0276 : 'UNION': Illegal use of reserved word" on compiling Gaussx.
Cause
The version of Gauss for DOS that you are using is vsn 3.2.13 or higher. This includes a new reserved word - 'UNION'. The version of Gaussx that you are using was written prior to this change.
Resolution
- Run Gaussx with the version of Gauss earlier than 3.2.13.
- Change every mention of the word UNION in the GAUSSX source files to _UNION, and recompile. This is not recommended.
- Update to a newer version of Gauss for DOS.