HEAD does not compile on IRIX 6.5

Greg Dickie greg at discreet.com
Sat Dec 23 21:00:59 GMT 2000


Hi,

Compiling lib/util_unistr.c
cc-1029 cc: ERROR File = lib/util_unistr.c, Line = 285
  An expression is expected at this point.

  <<<<<<< util_unistr.c
  ^

cc-1241 cc: ERROR File = lib/util_unistr.c, Line = 287
  A declaration cannot appear after an executable statement in a block.

        uint16 *src;
        ^

cc-1029 cc: ERROR File = lib/util_unistr.c, Line = 288
  An expression is expected at this point.

  =======
  ^

cc-1241 cc: ERROR File = lib/util_unistr.c, Line = 290
  A declaration cannot appear after an executable statement in a block.

        uint16 *src;
        ^

cc-1101 cc: ERROR File = lib/util_unistr.c, Line = 290
  "src" has already been declared in the current scope.

        uint16 *src;
                ^

cc-1029 cc: ERROR File = lib/util_unistr.c, Line = 291
  An expression is expected at this point.

  >>>>>>> 1.51
  ^

cc-1029 cc: ERROR File = lib/util_unistr.c, Line = 293
  An expression is expected at this point.

  <<<<<<< util_unistr.c
  ^

cc-1029 cc: ERROR File = lib/util_unistr.c, Line = 296
  An expression is expected at this point.

  =======
  ^

cc-1029 cc: ERROR File = lib/util_unistr.c, Line = 298
  An expression is expected at this point.

  =======
  ^

cc-1012 cc: WARNING File = lib/util_unistr.c, Line = 307
  Parsing restarts here after previous syntax error.

        src = str->buffer;
                         ^

cc-1020 cc: ERROR File = lib/util_unistr.c, Line = 308
  The identifier "len" is undefined.

        len = MIN(str->uni_str_len, maxlen);
        ^

cc-1020 cc: ERROR File = lib/util_unistr.c, Line = 315
  The identifier "p" is undefined.

        for (p = dest; (p-dest < len) && *src; src++) {
             ^

cc-1551 cc: WARNING File = lib/util_unistr.c, Line = 315
  The variable "src" is used before its value is set.

        for (p = dest; (p-dest < len) && *src; src++) {
                                          ^

cc-1174 cc: WARNING File = lib/util_unistr.c, Line = 287
  The variable "src" was declared but never referenced.

        uint16 *src;
                ^

11 errors detected in the compilation of "lib/util_unistr.c".
*** Error code 2 (bu21)


---------------------------------------------------------------------
Greg Dickie
just a guy
greg at discreet.com





More information about the samba-technical mailing list