trojanfoe replied why the issue was released (+1).
A more flexible and user-friendly way to generate your warning message:
#pragma message("YOUR WARNING HERE")
Clang will issue one warning (specifically the one you wrote in the message, not the pedantic one), and it appears in Xcode issues.
source share