views:

231

answers:

1

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 :( )

+6  A: 
#warning "This will only hurt a little bit."
#error "Or maybe a lot!"
Sean Bright
Thank you very much :D
acidzombie24