For some reason, SDK doesn't display warning when AFB_BINDING_VERSION
is defined as 2.
Using #warning instead of #pragma GCC warning fixes the display.
Change-Id: I3c96b3630e0d1eac63b2fde72bdec3c7f3d1714a
Signed-off-by: Johann CAHIER <johann.cahier@iot.bzh>
"
#else
# if AFB_BINDING_VERSION == 1
-# pragma GCC warning "Using binding version 1, consider to switch to version 3"
+# warning "Using binding version 1, consider to switch to version 3"
# endif
# if AFB_BINDING_VERSION == 2
-# pragma GCC warning "Using binding version 2, consider to switch to version 3"
+# warning "Using binding version 2, consider to switch to version 3"
# endif
#endif