bug-texinfo
[Top][All Lists]
Advanced

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

Problem compiling


From: ezra peisach
Subject: Problem compiling
Date: Tue, 13 May 2003 12:13:40 -0400 (EDT)

This is with the SGI C compiler...

In the makeinfo directory:

a) (Warning) init_buffer should return something...

b) (Error) append_char: Initialization of the char str gives the error:
cc-1028 cc: ERROR File = html.c, Line = 154
  The expression used must have a constant value.

c) (Error) pop_tag does not take any arguments and the compiler complains about
an incorrect number....

Ezra

*** html.c      2003/05/13 16:03:05     1.1
--- html.c      2003/05/13 16:05:27
***************
*** 143,148 ****
--- 143,149 ----
    buf->length = 0;
    buf->size = 0;
    buf->buffer = NULL;
+   return buf;
  }
  
  
***************
*** 151,157 ****
      buffer_type *buf;
      int c;
  {
!   char str[2] = { c, 0 };
  
    if (buf->length + 1 >= buf->size)
      {
--- 152,160 ----
      buffer_type *buf;
      int c;
  {
!   char str[2];
!   str[0] = c;
!   str[1] = 0;
  
    if (buf->length + 1 >= buf->size)
      {
***************
*** 381,387 ****
      }
  
    if (start_or_end != START)
!     pop_tag (tag);
  
    if (htmlstack)
      old_tag = htmlstack->tag;
--- 384,390 ----
      }
  
    if (start_or_end != START)
!     pop_tag ();
  
    if (htmlstack)
      old_tag = htmlstack->tag;




reply via email to

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