yarshure
V2EX  ›  FreeBSD

10-Current ports vim-lite build fail.

  •  
  •   yarshure · Dec 21, 2012 · 5145 views
    This topic created in 4915 days ago, the information mentioned may be changed or developed.
    pkg_manifest.c:416:20: error: comparison of constant 2147483647 with expression of type 'pkg_script' is always false [-Werror,-Wtautological-constant-out-of-range-compare]
    if (script_type == INT_MAX) {
    ~~~~~~~~~~~ ^ ~~~~~~~
    1 error generated.
    pkg_manifest.c:416:20: error: comparison of constant 2147483647 with expression of type 'pkg_script' is always false [-Werror,-Wtautological-constant-out-of-range-compare]
    if (script_type == INT_MAX) {
    ~~~~~~~~~~~ ^ ~~~~~~~
    change to
    script_type == -1
    先用着再说
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2643 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 15:42 · PVG 23:42 · LAX 08:42 · JFK 11:42
    ♥ Do have faith in what you're doing.