yarshure
V2EX  ›  FreeBSD

10-Current ports vim-lite build fail.

  •  
  •   yarshure · Dec 21, 2012 · 5129 views
    This topic created in 4904 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   ·   5229 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:19 · PVG 15:19 · LAX 00:19 · JFK 03:19
    ♥ Do have faith in what you're doing.