error: #error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
打开该文件,注释掉那几行。
//#if !defined _BYTESWAP_H && !defined _NETINET_IN_H
//# error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
//#endif
本文介绍如何避免直接使用<bits/byteswap.h>头文件,并提供替代方案。通过注释掉错误提示代码段,确保代码的正确性和效率。
error: #error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
打开该文件,注释掉那几行。
//#if !defined _BYTESWAP_H && !defined _NETINET_IN_H
//# error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
//#endif
9061

被折叠的 条评论
为什么被折叠?