JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

解决编译告警unrecognized command line option ‘-Wno-address-of-packed-member’

发布时间 2023-09-04 10:36:23作者: 郝姬友

问题

在编译dperf的过程中报错如下:

解决

 以上问题为编译告警选项使用错误,在-Wno-address-of-packed-member前面加入 -w即可。

-w -Wno-address-of-packed-member

 

    本栏目推荐文章
  • 【解决方案】Error running,Command line is too long
  • Dating Java8系列之巧用Optional之优雅规避NPE问题
  • mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; ERROR 1410 (42000): You are not allowed to create a user with GRANT
  • [Vue warn]: Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".
  • android编译kanzi 问题 (3) Build command failed.ninja: error: '../../../../../../lib/android_gradle/ES3_Release/arm64-v8a/xxxxx.so', needed by 'xxxxxx.so', missing and no known rule to make it
  • Understanding the linux kernel Chapter2 Memory Addressing
  • Mac安装mysql问题之-bash: mysql: command not found
  • Arduino命令解析库(Commander)的使用和实现
  • echart更改options值,渲染不跟着改变的坑
  • SAS Option 选项相关
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们