Fix deprecation warnings for older GCC versions
[src/app-framework-binder.git] / include / afb / afb-binding.h
index 085dc38..448baf1 100644 (file)
@@ -96,10 +96,10 @@ struct json_object;
 "
 #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