我有一个可以在32位机器上编译和工作的软件包.我现在正试图让它在64位机器上编译并发现以下错误 -
error: cast from ‘void*’ to ‘int’ loses precision
是否有编译器标志来抑制这些错误?或者我是否必须手动编辑这些文件以避免这些演员表?
c++ linux portability 32bit-64bit
32bit-64bit ×1
c++ ×1
linux ×1
portability ×1