fvisibility.test
来自「奇趣公司比较新的qt/emd版本」· TEST 代码 · 共 33 行
TEST
33 行
#!/bin/shFVISIBILITY_SUPPORT=noCOMPILER=$1VERBOSE=$2case "$COMPILER" in aCC*) ;; *)cat >>fvisibility.c << EOF__attribute__((visibility("default"))) void blah();#if !defined(__GNUC__)# error "Visiblility support requires GCC"#elif __GNUC__ < 4# error "GCC3 with backported visibility patch is known to miscompile Qt"#endifEOF"$COMPILER" -c -fvisibility=hidden fvisibility.c >/dev/null 2>&1 && FVISIBILITY_SUPPORT=yesrm -f fvisibility.c fvisibility.o ;;esac# doneif [ "$FVISIBILITY_SUPPORT" != "yes" ]; then [ "$VERBOSE" = "yes" ] && echo "Symbol visibility control disabled." exit 0else [ "$VERBOSE" = "yes" ] && echo "Symbol visibility control enabled." exit 1fi
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?