version 1.2, 2025/04/09 19:52:02
|
version 1.3, 2025/04/10 01:24:38
|
Line 25
|
Line 25
|
# along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
# along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
# |
# |
# $Log$ |
# $Log$ |
|
# Revision 1.3 2025/04/10 01:24:38 snw |
|
# Remove C++ style comments |
|
# |
# Revision 1.2 2025/04/09 19:52:02 snw |
# Revision 1.2 2025/04/09 19:52:02 snw |
# Eliminate as many warnings as possible while building with -Wall |
# Eliminate as many warnings as possible while building with -Wall |
# |
# |
Line 67 FMD=$1
|
Line 70 FMD=$1
|
REPORTFILE="freem_lint_${_fmd_freem_version}.log" |
REPORTFILE="freem_lint_${_fmd_freem_version}.log" |
|
|
echo -n "${PGM}: linting src/*.[ch] to ${REPORTFILE} (this may take awhile)... " |
echo -n "${PGM}: linting src/*.[ch] to ${REPORTFILE} (this may take awhile)... " |
cppcheck --quiet --enable=all --inconclusive src/*.[ch] &> "${REPORTFILE}" |
cppcheck --quiet --check-level=exhaustive --enable=all --inconclusive src/*.[ch] &> "${REPORTFILE}" |
if [[ $? == 0 ]] |
if [[ $? == 0 ]] |
then |
then |
echo "[OK]" |
echo "[OK]" |