大约有 18,900 项符合查询结果(耗时:0.0226秒) [XML]

https://www.tsingfun.com/it/cpp/2568.html 

【解决】标准库std::min/std::max 与 Windows.h中的宏 min/max 冲突问题 - ...

...其定义的是函数替换,而不只是标识符替换。 来源:https://blog.twofei.com/668/ 参考: c++ - std::max - expected an identifier - Stack Overflow c++ - How do I deal with the max macro in windows.h colliding with max in std? - Stack Overflow c++ - why would I call ...
https://www.tsingfun.com/it/cp... 

VS编译dll时报编译错误:fatal error LNK1561: entry point must be define...

...目误选了exe,导致链接时找不到main入口函数。 参考:https://blog.csdn.net/hnust_xiehonghao/article/details/8522216 http://www.cxy.me/bbs/view35-19498-1.htm vs 编译错误
https://www.tsingfun.com/it/cp... 

浅析Linux段错误:SEGV_MAPERR、SEGV_ACCERR - C/C++ - 清泛网 - 专注C/C++及内核技术

...堆栈溢出或缓冲区溢出都可能导致该错误。 参考:https://stackoverflow.com/questions/1000002/what-is-segv-maperr linux 段错误 SEGV_MAPERR SEGV_ACCERR
https://www.tsingfun.com/it/cp... 

【解决】asan runtime does not come first in initial library list - C/C...

...内存问题,不加也能编译通过也能执行检查。 参考:https://stackoverflow.com/questions/59853730/asan-issue-with-asan-library-loading 2021/8/5 添加2、3节。 asan 内存跟踪
https://www.tsingfun.com/it/cp... 

Intel SMID指令集编译错误: inlining failed in call to always_inline \'x...

...CPUID Flags,如下图 -mavx2) 函数在Intel指令集官网查找:https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html avx,avx2
https://www.tsingfun.com/it/cpp/cpu_avx_run.html 

CPU指令集avx程序无法运行,运行崩溃 - C/C++ - 清泛网 - 专注C/C++及内核技术

...支持,就导致程序崩溃起不来。 Intel指令集官网查找:https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html 因此,在写程序时需要区分开使用avx等指令优化还是普通版本的函数,不过这里不能使用宏,因为cpu指令即使不支...
https://www.tsingfun.com/it/cp... 

char类型移动跨平台踩过的坑 - C/C++ - 清泛网移动版 - 专注IT技能提升

...特别注意char和unsigned char,最好使用unsigned char。 拓展:https://www.cnblogs.com/lsgxeva/p/10913024.html char 跨平台 arm fsigned-char
https://www.tsingfun.com/it/te... 

Apache 404页配置方法 - 更多技术 - 清泛网移动版 - 专注IT技能提升

...行配置: ErrorDocument 404 /404.html 也可以: ErrorDocument 404 https://www.tsingfun.com/404.html 404页面对SEO的影响 当搜索引擎搜索一个错误链接的时候,如果你没有设置404页面,那么他就会判断你这个链接是是一个有效但是无用的网页。...
https://www.tsingfun.com/it/os... 

OpenSuSE 安装bpftrace - 操作系统(内核) - 清泛网 - 专注IT技能提升

...可以尝试 3、安装bpftrace(参考:INSTALL.md): OCICLI https://software.opensuse.org/ymp/home:pavlix:Kernel/openSUSE_Leap_15.1/bpftrace.ymp 4、验证: bpftrace USAGE: bpftrace [options] filename bpftrace [options] -e 'program' OPTIONS: -B MODE out...
https://www.tsingfun.com/it/op... 

Linux C++静态链接protobuf库异常中止 - 开源 & Github - 清泛网 - 专注C/C++及内核技术

...贝。但这是非常危险的。我不推荐它。 Google翻译自:https://stackoverflow.com/questions/33017985/static-linking-with-generated-protobufs-causes-abort c++ protobuf