Change PB_RETURN_ERROR() macro to avoid compiler warnings.

Update issue 140
Status: FixedInGit
This commit is contained in:
Petteri Aimonen
2015-01-03 10:59:19 +02:00
parent 7be7c7769f
commit b0d31468da
2 changed files with 10 additions and 14 deletions

View File

@@ -121,9 +121,6 @@ elif 'cl' in env['CC']:
# More strict checks on the nanopb core
env.Append(CORECFLAGS = '/W4')
# PB_RETURN_ERROR triggers C4127 because of while(0)
env.Append(CFLAGS = '/wd4127')
elif 'tcc' in env['CC']:
# Tiny C Compiler
env.Append(CFLAGS = '-Wall -Werror -g')