计算机 · 2021年6月1日 0

C语言踩坑笔记

include_next指令

https://gcc.gnu.org/onlinedocs/cpp/Wrapper-Headers.html

设置库里的函数可见性

https://anadoxin.org/blog/control-over-symbol-exports-in-gcc.html/
https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/CppRuntimeEnv/Articles/SymbolVisibility.html

可变参数宏定义

https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html
https://gustedt.wordpress.com/2010/06/08/detect-empty-macro-arguments/

feature test macro

https://lwn.net/Articles/590381/
https://gcc.gnu.org/legacy-ml/fortran/2005-10/msg00365.html

编译时携带调试信息

http://www.dwarfstd.org/doc/Debugging%20using%20DWARF-2012.pdfhttps://developer.ibm.com/articles/au-dwarf-debug-format/

restrict关键字

https://blog.csdn.net/lovekatherine/article/details/1891806