On Sun, 28 Oct 2007 13:59:56 +0100, <[EMAIL PROTECTED]> wrote:

On Sun, 28 Oct 2007 00:22:48 +0200, Craig A. Berry <[EMAIL PROTECTED]> wrote:

At 6:58 PM +0200 10/25/07, [EMAIL PROTECTED] wrote:
On Thu, 25 Oct 2007 05:24:16 +0200, Craig A. Berry <[EMAIL PROTECTED]> wrote:


You'll get listing files which would tell you a lot about what the
compiler is or is not seeing.  Upgrading the compiler would probably
be a lot less work.  And yes, I understand you've pursued this as far
as you want to, which is fine.


Well, you never know...  Sorry, I don't have gnu diff on the vms box.

...


But now I am stuck or rather have the eperts here tell me the DECC specialties:

A400> mmk
CC/DECC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList/float=ieee/ieee=denorm/Define=PERL_CORE VMS.C

/*  End of vms.c */
...................^
%CC-E-OPENBRACE, Missing "{".
at line number 13240 in file TMP:[AI26.perl-current]vms.c;2

/*  End of vms.c */
...................^
%CC-E-BADSTMT, Invalid statement.
at line number 13240 in file TMP:[AI26.perl-current]vms.c;2

   FILE *fp = fdopen(fd, mode);
........................^
%CC-W-NOTCONSTQUAL, In the initializer for fp, the referenced type of the pointer value "mode" is const, but the referenced type of
the target of this assignment is not.
at line number 10194 in file TMP:[AI26.perl-current]vms.c;2

         const __align (LONGWORD) int spare[8] = {0};
.....................................^
%CC-E-PARMINIT, In the definition of the function "__align", a parameter declaration cannot include an initializer.
at line number 13213 in file TMP:[AI26.perl-current]vms.c;2

         const __align (LONGWORD) int spare[8] = {0};
.....................................^
%CC-E-NOTPARM, In the definition of the function "__align", spare is not a parameter.
at line number 13213 in file TMP:[AI26.perl-current]vms.c;2

const long vms_cc_features = (const long)set_features;
...........^
%CC-E-PARMINIT, In the definition of the function "__align", a parameter declaration cannot include an initializer.
at line number 13223 in file TMP:[AI26.perl-current]vms.c;2

const long vms_cc_features = (const long)set_features;
...........^
%CC-E-NOTPARM, In the definition of the function "__align", vms_cc_features is not a parameter.
at line number 13223 in file TMP:[AI26.perl-current]vms.c;2

int lib$initialize(void);
....^
%CC-E-NOTPARM, In the definition of the function "__align", lib$initialize is not a parameter.
at line number 13229 in file TMP:[AI26.perl-current]vms.c;2

     int lib_init_ref = (int) lib$initialize;
........^
%CC-E-PARMINIT, In the definition of the function "__align", a parameter declaration cannot include an initializer.
at line number 13233 in file TMP:[AI26.perl-current]vms.c;2

     int lib_init_ref = (int) lib$initialize;
........^
%CC-E-NOTPARM, In the definition of the function "__align", lib_init_ref is not a parameter.
at line number 13233 in file TMP:[AI26.perl-current]vms.c;2
%MMK-F-ERRUPD, error status %X10B91262 occurred when updating target VMS.OBJ



Seems to me __align is unknown to my C.  But how to fix?


Well, it's been a little quiet on this.  Any tips?  I don't have
an idea really what all this stuff at the end of vms.c is supposed
to do.  Can I just scrap it (via #define)?


Michael

Reply via email to