[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxaxp::vmsnotes

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

99.0. "No SMGDEF_UPCASE.H for OpenVMS VAX, %CC-E-INCOMPTENT" by CSC32::D_SANFORD () Tue Jan 28 1997 19:31

    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.RTitleUserPersonal
Name
DateLines
99.1QUARK::LIONELFree advice is worth every centTue Jan 28 1997 20:074
    This file would be provided by DEC C, not by OpenVMS, so the correct
    place to complain is in DECC_BUGS.
    
    				Steve
99.2sources belong to OpenVMSHNDYMN::MCCARTHYA Quinn Martin ProductionWed Jan 29 1997 06:298
>>    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.3QAR or IPMT (low prio)XDELTA::HOFFMANSteve, OpenVMS EngineeringWed Jan 29 1997 10:0310
   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.)