You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless you were trying to test us all I guess the following represents a small finger issue!
Thanks for the great work
Frank
compiling FakeTimeService.c
tests/HomeAutomation/FakeTimeService.c: In function ‘FakeTimeService_MinuteIsUp’:
tests/HomeAutomation/FakeTimeService.c:48:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
48 | if (callback != NULL);
| ^~
tests/HomeAutomation/FakeTimeService.c:49:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
49 | callback();
| ^~~~~~~~
cc1: all warnings being treated as errors
make: *** [/home/fsmith/code/test-driven-development-for-embeded-c-james-w-grenning/cpputest/build/MakefileWorker.mk:564: objs/tests/HomeAutomation/FakeTimeService.o] Error 1
The text was updated successfully, but these errors were encountered:
Unless you were trying to test us all I guess the following represents a small finger issue!
Thanks for the great work
Frank
compiling FakeTimeService.c
tests/HomeAutomation/FakeTimeService.c: In function ‘FakeTimeService_MinuteIsUp’:
tests/HomeAutomation/FakeTimeService.c:48:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
48 | if (callback != NULL);
| ^~
tests/HomeAutomation/FakeTimeService.c:49:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
49 | callback();
| ^~~~~~~~
cc1: all warnings being treated as errors
make: *** [/home/fsmith/code/test-driven-development-for-embeded-c-james-w-grenning/cpputest/build/MakefileWorker.mk:564: objs/tests/HomeAutomation/FakeTimeService.o] Error 1
The text was updated successfully, but these errors were encountered: