I know MSVC can do this via a pragma message -> http://support.microsoft.com/kb/155196
Does gcc have a way to print user created warnings or messages? (I couldn't find a solution with google :( )
#warning "This will only hurt a little bit."
#error "Or maybe a lot!"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With