V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
yarshure
V2EX  ›  FreeBSD

10-Current ports vim-lite build fail.

  •  
  •   yarshure · Dec 21, 2012 · 5103 views
    This topic created in 4888 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   ·   5591 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 05:50 · PVG 13:50 · LAX 22:50 · JFK 01:50
    ♥ Do have faith in what you're doing.