yarshure
V2EX  ›  FreeBSD

10-Current ports vim-lite build fail.

  •  
  •   yarshure · Dec 21, 2012 · 5135 views
    This topic created in 4907 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   ·   3098 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 00:18 · PVG 08:18 · LAX 17:18 · JFK 20:18
    ♥ Do have faith in what you're doing.