Title: | VAX and Alpha VMS |
Notice: | This is a new VMSnotes, please read note 2.1 |
Moderator: | VAXAXP::BERNARDO |
Created: | Wed Jan 22 1997 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 703 |
Total number of notes: | 3722 |
DEC C V5.3-006, OpenVMS VAX V6.2 DEC C V5.5-002, OpenVMS VAX V6.0 DEC C V5.3-006, OpenVMS Alpha V6.2 Cross posted in TURRIS::DECC_BUGS.NOTE, note 1258. OpenVMS issue... Using SMG uppercase definitions does not work with DEC C on OpenVMS VAX. Given the following example: #include <smgdef.h> struct SMGDEF_BITS bits; This will compile without error using DEC C on Alpha and VAX C on VAX, but with DEC C on VAX you'll receive the following error: struct SMGDEF_BITS bits; ...................^ %CC-E-INCOMPTENT, The type of the tentatively-defined variable "bits" is incomplete at the end of the compilation unit. Listing line number 836. At line number 5 in SMG.C. With DEC C on Alpha an extra file is included which is included when using SMGDEF.H : #include <SMGDEF_UPCASE.H> It would appear that this file should also be provided on VAX. The only current workaround is to use lowercase. Regards, Drew Sanford Customer Support Center C970121-2909
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
99.1 | QUARK::LIONEL | Free advice is worth every cent | Tue Jan 28 1997 20:07 | 4 | |
This file would be provided by DEC C, not by OpenVMS, so the correct place to complain is in DECC_BUGS. Steve | |||||
99.2 | sources belong to OpenVMS | HNDYMN::MCCARTHY | A Quinn Martin Production | Wed Jan 29 1997 06:29 | 8 |
>> This file would be provided by DEC C, not by OpenVMS, so the correct >> place to complain is in DECC_BUGS. I sent him here. The DEC C compiler does not provide this header file (it may, however, use SDL at installation time to generate it from some VMS provided intermediate (SDI?) files). bjm | |||||
99.3 | QAR or IPMT (low prio) | XDELTA::HOFFMAN | Steve, OpenVMS Engineering | Wed Jan 29 1997 10:03 | 10 |
This is an OpenVMS problem -- the customer will continue to need to use your workaround for the near future, or switch over to the lowercase definition, or will need/want to use a locally-implemented compiler /DEFINE or preprocessor #define to alter this behaviour. Rather than posting a note here, it's usually better to log a QAR or IPMT. (Notes is not a formal support mechanism -- the problem report will get to the correct engineer, where a note might not.) |