这是一个创建于 4337 天前的主题,其中的信息可能已经有所发展或是发生改变。
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
先用着再说