bug-patch
[Top][All Lists]
Advanced

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

[bug-patch] patch-2.6.1.136-31a7 compilation failures on SGI IRIX


From: Nelson H. F. Beebe
Subject: [bug-patch] patch-2.6.1.136-31a7 compilation failures on SGI IRIX
Date: Sat, 20 Aug 2011 17:03:04 -0600 (MDT)

With native cc and c89, compilation of patch-2.6.1.136-31a7 on SGI IRIX
fails like this:

  CC     verror.o
cc-1129 c89: ERROR File = verror.h, Line = 35
  A left brace ("{") is expected at this point.

       __attribute__ ((__format__ (__printf__, 3, 0)));
       ^

cc-1012 c89: WARNING File = ///usr/include/stdlib.h, Line = 90
  Parsing restarts here after previous syntax error.

  typedef       struct {
                       ^

cc-1174 c89: WARNING File = ///usr/include/stdlib.h, Line = 91
  The variable "quot" was declared but never referenced.

         int    quot;
                ^

cc-1174 c89: WARNING File = ///usr/include/stdlib.h, Line = 92
  The variable "rem" was declared but never referenced.

         int    rem;
                ^

cc-1077 c89: ERROR File = ///usr/include/stdlib.h, Line = 93
  The indicated declaration has no storage class or type specifier.

        } div_t;
          ^

cc-1079 c89: ERROR File = ///usr/include/stdlib.h, Line = 190
  A type specifier is expected.

  extern div_t div(int, int);
         ^

cc-1220 c89: ERROR File = verror.c, Line = 43
  The function "verror" has already been defined.

  verror (int status, int errnum, const char *format, va_list args)
  ^

cc-1153 c89: ERROR File = verror.c, Line = 55
  Declaration is incompatible with previous "verror_at_line" (declared at line
          45).

  verror_at_line (int status, int errnum, const char *file,
  ^

cc-1140 c89: ERROR File = verror.c, Line = 58
  A value of type "int" cannot be used to initialize an entity of type "char *".

    char *message = xvasprintf (format, args);
                    ^

cc-1020 c89: ERROR File = verror.c, Line = 73
  The identifier "errno" is undefined.

        error (0, errno, _("unable to display error message"));
                  ^

7 errors detected in the compilation of "verror.c".

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



reply via email to

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