namazu-ml(ring)


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

Namazu1.9.5の make



こんにちは。松本と申します。

Vine-Linux1.1にて、Namazu1.9.5をテストしたいのですが、
make時に、regex.cのWarningがずらずら出てしまいます。
これを回避するにはどうすれば良いでしょうか?
このWarningを回避しないままインストールしても
Namazu1.9.5は正常に動かないでしょうか?

環境:
- Perl5.004_04
- Japanization patch 4(jperl5.004_04-980303)
- kakasi2.2
- nkf1.62

よろしくお願いします。

regex.cのlongの所でひっかってるようです。
■regex.c
/* Specify the precise syntax of regexps for compilation. 
This provides
   for compatibility for various utilities which historically have
   different, incompatible syntaxes.

   The argument SYNTAX is a bit-mask comprised of the various bits
   defined in regex.h.  */

long
re_set_syntax(syntax)
  long syntax;
{
    /* obsolete */
}

^L

■make時のWarning

regex.c: In function `re_set_syntax':
regex.c:406: warning: control reaches end of non-void function
regex.c: In function `print_mbc':
regex.c:480: warning: int format, long int arg (arg 2)
regex.c:482: warning: int format, long int arg (arg 3)
regex.c:484: warning: int format, long int arg (arg 3)
regex.c:484: warning: int format, long int arg (arg 4)
regex.c:486: warning: int format, long int arg (arg 3)
regex.c:486: warning: int format, long int arg (arg 4)
regex.c:486: warning: int format, long int arg (arg 5)
regex.c:488: warning: int format, long int arg (arg 3)
regex.c:488: warning: int format, long int arg (arg 4)
regex.c:488: warning: int format, long int arg (arg 5)
regex.c:488: warning: int format, long int arg (arg 6)
regex.c:490: warning: int format, long int arg (arg 3)
regex.c:490: warning: int format, long int arg (arg 4)
regex.c:490: warning: int format, long int arg (arg 5)
regex.c:490: warning: int format, long int arg (arg 6)
regex.c:490: warning: int format, long int arg (arg 7)
regex.c:493: warning: unsigned int format, long unsigned int arg (arg 2)
regex.c:496: warning: int format, long int arg (arg 2)
regex.c:496: warning: int format, long int arg (arg 3)
regex.c: In function `re_compile_pattern':
regex.c:1386: warning: suggest parentheses around arithmetic in operand of |
regex.c:1447: warning: implicit declaration of function `scan_hex'
regex.c:1455: warning: implicit declaration of function `scan_oct'
regex.c:1463: warning: suggest parentheses around arithmetic in operand of |
regex.c:2237: warning: enumeration value `unused' not handled in switch
regex.c:2237: warning: enumeration value `exactn' not handled in switch
regex.c:2237: warning: enumeration value `begline' not handled in switch
regex.c:2237: warning: enumeration value `endline' not handled in switch
regex.c:2237: warning: enumeration value `begbuf' not handled in switch
regex.c:2237: warning: enumeration value `endbuf' not handled in switch
regex.c:2237: warning: enumeration value `endbuf2' not handled in switch
regex.c:2237: warning: enumeration value `on_failure_jump' not handled in switch
regex.c:2237: warning: enumeration value `push_dummy_failure' not handled in swi
tch
regex.c:2237: warning: enumeration value `succeed_n' not handled in switch
regex.c:2237: warning: enumeration value `try_next' not handled in switch
regex.c:2237: warning: enumeration value `finalize_push' not handled in switch
regex.c:2237: warning: enumeration value `finalize_push_n' not handled in switch
regex.c:2237: warning: enumeration value `set_number_at' not handled in switch
regex.c:2237: warning: enumeration value `anychar' not handled in switch
regex.c:2237: warning: enumeration value `anychar_repeat' not handled in switch
regex.c:2237: warning: enumeration value `charset' not handled in switch
regex.c:2237: warning: enumeration value `charset_not' not handled in switch
regex.c:2237: warning: enumeration value `start_memory' not handled in switch
regex.c:2237: warning: enumeration value `stop_memory' not handled in switch
regex.c:2237: warning: enumeration value `start_paren' not handled in switch
regex.c:2237: warning: enumeration value `stop_paren' not handled in switch
regex.c:2237: warning: enumeration value `casefold_on' not handled in switch
regex.c:2237: warning: enumeration value `casefold_off' not handled in switch
regex.c:2237: warning: enumeration value `posix_on' not handled in switch
regex.c:2237: warning: enumeration value `posix_off' not handled in switch
regex.c:2237: warning: enumeration value `start_nowidth' not handled in switch
regex.c:2237: warning: enumeration value `stop_nowidth' not handled in switch
regex.c:2237: warning: enumeration value `pop_and_fail' not handled in switch
regex.c:2237: warning: enumeration value `duplicate' not handled in switch
regex.c:2237: warning: enumeration value `wordchar' not handled in switch
regex.c:2237: warning: enumeration value `notwordchar' not handled in switch
regex.c:2237: warning: enumeration value `wordbeg' not handled in switch
regex.c:2237: warning: enumeration value `wordend' not handled in switch
regex.c:2237: warning: enumeration value `wordbound' not handled in switch
regex.c:2237: warning: enumeration value `notwordbound' not handled in switch
regex.c:1115: warning: `c1' might be used uninitialized in this function
regex.c: In function `re_search':
regex.c:3095: warning: suggest parentheses around arithmetic in operand of |
regex.c: In function `re_match':
regex.c:3631: warning: suggest parentheses around arithmetic in operand of |
regex.c:3760: warning: suggest parentheses around arithmetic in operand of |
regex.c:4091: warning: label `pop_loop' defined but not used
regex.c: At top level:
regex.c:2413: warning: `insert_op' defined but not used
regex.c:940: warning: `print_compiled_pattern' defined but not used

_Kouichi_Matsumoto___________________________________
E-mail. maykeart@xxxxxxxxx  TEL +81-044-739-0558(JPN)
                            urgent  050-519-4277(PHS)
                            Fax  +1-530-686-5870(USA)
〒211-0007
神奈川県川崎市中原区上丸子天神町 368-1ジョイフル新丸子204