lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Lynx 2-8-1 pre 4 problems on VMS


From: newsmgr
Subject: lynx-dev Lynx 2-8-1 pre 4 problems on VMS
Date: Wed, 30 Sep 1998 08:04:16 +1000

        RE: Lynx 2-8-1 Pre 4

        I tried to build this on two VMS systems....

Alpha VMS 7.1, DEC C 5.7, UCX 4.1

        This compiled well with only minor warnings, I added partial display
and persistent cookies and it all works well so far....

(Could someone confirm www.smh.com.au offers invalid cookies.)

        There is still a problem with the VAX compilation.....
                Compile Options are as found.
VAX VMS 5.5-2, VAX C 3.2, UCX 4.1

$! VAXC:
$!
$   cc := cc/DEFINE=(DEBUG,ACCESS_AUTH,UCX) -
            /INCLUDE=([-.Implementation],[---.src],[---.src.chrtrans],[---])
$!
........[snip]
$ cc [-.Implementation]HTVMS_WaisUI.c
          LYva_start(ap,numBits);
%CC-E-UNDECLARED, "va_alist" is not declared within the scope of
                this usage.
                Listing line number 11486.
                At line number 1536 in 
DISK$MHLRF73:[CUSER.LYNX2-8-1.WWW.LIBRARY.IMPLEMENTATION]HTVMS_WAISUI.C;1.

          LYva_start(ap,numBits);
%CC-E-INVOPERAND, Invalid operand of a "& (address-of)" operator.
                Listing line number 11486.
                At line number 1536 in 
DISK$MHLRF73:[CUSER.LYNX2-8-1.WWW.LIBRARY.IMPLEMENTATION]HTVMS_WAISUI.C;1.


11474           
/*----------------------------------------------------------------------*/
11475           
11476           #define bitsPerByte     8
11477           
11478           bit_map*
11479           makeBitMap(unsigned long numBits, ...)
11480           /* construct and return a bitmap with numBits elements */
11481           {
11482    1        va_list ap;
11483    1        long i,j;
11484    1        bit_map* bm = NULL;
11485    1      
11486    1        LYva_start(ap,numBits);
%CC-E-UNDECLARED, "va_alist" is not declared within the scope of
                this usage.
 
%CC-E-INVOPERAND, Invalid operand of a "& (address-of)" operator.
 
11487    1      
11488    1        bm = (bit_map*)s_malloc((size_t)sizeof(bit_map));
11489    1        bm->size = (unsigned long)(ceil((double)numBits / 
bitsPerByte));
11490    1        bm->bytes = (char*)s_malloc((size_t)bm->size);
11491    1      
11492    1        /* fill up the bits */
11493    1        for (i = 0; i < bm->size; i++) /* iterate over bytes */
11494    1          { char byte = 0;



          LYva_start(ap, format);       /* init ap */
%CC-E-UNDECLARED, "va_alist" is not declared within the scope of
                this usage.
                Listing line number 12219.
                At line number 2269 in 
DISK$MHLRF73:[CUSER.LYNX2-8-1.WWW.LIBRARY.IMPLEMENTATION]HTVMS_WAISUI.C;1.

          LYva_start(ap, format);       /* init ap */
%CC-E-INVOPERAND, Invalid operand of a "& (address-of)" operator.
                Listing line number 12219.
                At line number 2269 in 
DISK$MHLRF73:[CUSER.LYNX2-8-1.WWW.LIBRARY.IMPLEMENTATION]HTVMS_WAISUI.C;1.

        }

12209           
/*----------------------------------------------------------------------*/
12210           
12211           #define PANIC_HEADER "Fatal Error:  "
12212           
12213           void
12214           panic(char *format, ...)
12215           {
12216    1        va_list ap;                   /* the variable arguments */
12217    1      
12218    1        fprintf(stderr,PANIC_HEADER);
12219    1        LYva_start(ap, format);       /* init ap */
%CC-E-UNDECLARED, "va_alist" is not declared within the scope of
                this usage.
 
%CC-E-INVOPERAND, Invalid operand of a "& (address-of)" operator.
 
12220    1        vfprintf(stderr,format,ap);   /* print the contents */
12221    1        va_end(ap);                   /* free ap */
12222    1        fflush(stderr);
12223    1      
12224    1        exitAction(0);
12225    1      }

%CC-I-NOBJECT, No object file produced.
                Listing line number 12375.
                At line number 2425 in 
DISK$MHLRF73:[CUSER.LYNX2-8-1.WWW.LIBRARY.IMPLEMENTATION]HTVMS_WAISUI.C;1.

%CC-I-SUMMARY, Completed with 4 error(s), 0 warning(s), and
                1 informational messages.
                At line number 2428 in 
DISK$MHLRF73:[CUSER.LYNX2-8-1.WWW.LIBRARY.IMPLEMENTATION]HTVMS_WAISUI.C;1.

$ CLEANUP:

                                Regards
 *      *     *     *     *       Tony Bolton   
****  ****   **     **   **       TBolton 'at' mhl.nsw.gov.au
** **** **   *********   **       MANLY HYDRAULICS LABORATORY.
**  **  **   *********   **       110B King ST. Manly Vale 2093 Sydney AUSTRALIA
**      **   **     **   ******** Phone +61 2 99490200 FAX +61 2 99486185

reply via email to

[Prev in Thread] Current Thread [Next in Thread]