DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2551
Version: 1.3-current


Getting this fatal error building 1.3.x current on the SGI.
The SGI compiler builds are normally noisy, but in this case
it failed to build.

The first error is here:
"xutf8/lcUniConv/cp936ext.h", line 1: error(1166): expected a declaration
  //
  ^

I think the problem here is C++ syntax comments are being used
in files being compiled by a C compiler. Gnu allows '//' as a comment
in C, but other compilers do not.

----
Compiling xutf8/utf8Input.c...
"xutf8/lcUniConv/big5.h", line 1856: remark(1174): parameter "conv" was
          declared but never referenced
  big5_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
                      ^

"xutf8/lcUniConv/big5.h", line 1883: warning(1014): extra text after
expected
          end of preprocessing directive
  #endif // NEED_TOWC
         ^

"xutf8/lcUniConv/big5.h", line 4145: warning(1014): extra text after
expected
          end of preprocessing directive
  #endif // NEED_TOMB
         ^

"xutf8/lcUniConv/gb2312.h", line 1064: remark(1174): parameter "conv" was
          declared but never referenced
  gb2312_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
                        ^

"xutf8/lcUniConv/gb2312.h", line 1091: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOWC
         ^

"xutf8/lcUniConv/gb2312.h", line 2556: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOMB
         ^

"xutf8/lcUniConv/cp936ext.h", line 1: error(1166): expected a declaration
  //
  ^

"xutf8/lcUniConv/cp936ext.h", line 8: warning(1012): parsing restarts here
          after previous syntax error
  // This library is free software; you can redistribute it and/or
                                  ^

"xutf8/lcUniConv/cp936ext.h", line 8: error(1020): identifier "you" is
          undefined
  // This library is free software; you can redistribute it and/or
                                    ^

"xutf8/lcUniConv/cp936ext.h", line 8: error(1065): expected a ";"
  // This library is free software; you can redistribute it and/or
                                            ^

"xutf8/lcUniConv/cp936ext.h", line 10: warning(1233): explicit type is
missing
          ("int" assumed)
  // License as published by the Free Software Foundation; either
                                                           ^

"xutf8/lcUniConv/cp936ext.h", line 11: error(1065): expected a ";"
  // version 2 of the License, or (at your option) any later version.
  ^

"xutf8/lcUniConv/cp936ext.h", line 14: warning(1012): parsing restarts
here
          after previous syntax error
  // but WITHOUT ANY WARRANTY; without even the implied warranty of
                             ^

"xutf8/lcUniConv/cp936ext.h", line 14: error(1020): identifier "without"
is
          undefined
  // but WITHOUT ANY WARRANTY; without even the implied warranty of
                               ^

"xutf8/lcUniConv/cp936ext.h", line 14: error(1065): expected a ";"
  // but WITHOUT ANY WARRANTY; without even the implied warranty of
                                            ^

"xutf8/lcUniConv/cp936ext.h", line 19: warning(1012): parsing restarts
here
          after previous syntax error
  // License along with this library; if not, write to the Free Software
                                    ^

"xutf8/lcUniConv/cp936ext.h", line 19: error(1166): expected a declaration
  // License along with this library; if not, write to the Free Software
                                      ^

"xutf8/lcUniConv/cp936ext.h", line 37: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOWC
         ^

"xutf8/lcUniConv/cp936ext.h", line 45: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOMB
         ^

"xutf8/lcUniConv/cp936ext.h", line 3209: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOWC
         ^

"xutf8/lcUniConv/cp936ext.h", line 6251: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOMB
         ^

"xutf8/lcUniConv/cp936ext.h", line 6253: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // CP936
         ^

"xutf8/lcUniConv/cp936ext.h", line 6255: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // __APPLE__  WIN32
         ^

"xutf8/lcUniConv/jisx0201.h", line 28: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOWC
         ^

"xutf8/lcUniConv/jisx0201.h", line 53: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOMB
         ^

"xutf8/lcUniConv/jisx0208.h", line 105: warning(1012): parsing restarts
here
          after previous syntax error
  };
   ^

"xutf8/lcUniConv/jisx0208.h", line 1007: error(1020): identifier
          "jisx0208_2uni_page21" is undefined
              wc = jisx0208_2uni_page21[i];
                   ^

"xutf8/lcUniConv/jisx0208.h", line 996: remark(1174): parameter "conv" was
          declared but never referenced
  jisx0208_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int
n)
                          ^

"xutf8/lcUniConv/jisx0208.h", line 1023: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOWC
         ^

"xutf8/lcUniConv/jisx0208.h", line 2401: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOMB
         ^

"xutf8/lcUniConv/jisx0212.h", line 897: remark(1174): parameter "conv" was
          declared but never referenced
  jisx0212_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int
n)
                          ^

"xutf8/lcUniConv/jisx0212.h", line 930: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOWC
         ^

"xutf8/lcUniConv/jisx0212.h", line 2168: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOMB
         ^

"xutf8/lcUniConv/ksc5601.h", line 1171: remark(1174): parameter "conv" was
          declared but never referenced
  ksc5601_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
                         ^

"xutf8/lcUniConv/ksc5601.h", line 1201: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOWC
         ^

"xutf8/lcUniConv/ksc5601.h", line 3006: warning(1014): extra text after
          expected end of preprocessing directive
  #endif // NEED_TOMB
         ^

"xutf8/utf8Input.c", line 95: remark(1552): variable "b" was set but never
used
        unsigned char b[2];
                      ^

"xutf8/utf8Input.c", line 100: remark(1552): variable "b" was set but
never
          used
        unsigned char b[2];
                      ^

"xutf8/utf8Input.c", line 74: remark(1552): variable "b" was set but never
used
    char *buf, *b;
                ^

"xutf8/utf8Input.c", line 213: remark(1196): function declared implicitly
          if (cp936ext_mbtowc(NULL, &ucs, b, 2) == 2) {
              ^

"xutf8/utf8Input.c", line 340: remark(1196): function declared implicitly
        if (jisx0201_mbtowc(NULL, &ucs, &c1, 1) != 1) {
            ^

"xutf8/utf8Input.c", line 385: error(1029): expected an expression
    //if (!locale/* || strstr(locale, "UTF") || strstr(locale, "utf")*/) {
    ^

"xutf8/utf8Input.c", line 406: warning(1012): parsing restarts here after
          previous syntax error
      return XConvertGb2312ToUtf8(buffer_return, len);
                                                     ^

"xutf8/utf8Input.c", line 407: warning(1116): non-void function
          "XConvertEucToUtf8" (declared at line 380) should return a value
    } else if (strstr(locale, "ko")) { 
    ^

"xutf8/utf8Input.c", line 380: remark(1174): parameter "locale" was
declared
          but never referenced
  XConvertEucToUtf8(const char* locale,
                                ^

"xutf8/utf8Input.c", line 381: remark(1174): parameter "buffer_return" was
          declared but never referenced
                  char*         buffer_return, 
                                ^

"xutf8/utf8Input.c", line 382: remark(1174): parameter "len" was declared
but
          never referenced
                  int           len, 
                                ^

"xutf8/utf8Input.c", line 383: remark(1174): parameter "bytes_buffer" was
          declared but never referenced
                  int           bytes_buffer) {
                                ^

"xutf8/utf8Input.c", line 407: error(1166): expected a declaration
    } else if (strstr(locale, "ko")) { 
      ^

"xutf8/utf8Input.c", line 410: warning(1012): parsing restarts here after
          previous syntax error
    return len;
              ^

"xutf8/utf8Input.c", line 411: error(1166): expected a declaration
  }
  ^

"xutf8/utf8Input.c", line 451: warning(1012): parsing restarts here after
          previous syntax error
    return len;
              ^

"xutf8/utf8Input.c", line 452: error(1166): expected a declaration
  }
  ^

At end of source: warning(1012): parsing restarts here after previous
syntax
          error

12 errors detected in the compilation of "xutf8/utf8Input.c".
gmake[1]: *** [xutf8/utf8Input.o] Error 2
gmake: *** [all] Error 1
/meade/net/tmp/foofoofoo
----


Link: http://www.fltk.org/str.php?L2551
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to