GCC 5.2.1 no longer produces the warning that was used in this test.
export LC_MESSAGES
set -o pipefail
make 2>&1 | tee stderr || error make
export LC_MESSAGES
set -o pipefail
make 2>&1 | tee stderr || error make
-grep "control reaches end of non-void function" stderr || error "Default CFLAGS are not applied or no GCC is used"
- /* With default CFLAGS a warning should be produced: control reaches end of non-void function */
}
EOF
cat > 'lincan/Makefile.omk' <<'EOF'
}
EOF
cat > 'lincan/Makefile.omk' <<'EOF'