/*
Statements like:
	#pragma message(CLICKABLE_MESSAGE "Fix this problem!") 
will cause messages like:
	c:\src\prj\srcprojectmain.cpp(47): Fix this problem!
to show up during compiles.  These messages can be double-clicked in the output window
to jump to the line that generated the message.

Warning: you cannot use the words "error" or "warning" in your messages, since it will
make the IDE think it should abort execution.

Adapted from http://www.highprogrammer.com/alan/windev/visualstudio.html, which indicates
this came from the Windows Developer Journal (http://www.wd-mag.com/), 1997
*/
#define STRINGIZE(L)		#L
#define MAKESTRING(M,L)		M(L)
#define LINE_AS_STRING		MAKESTRING( STRINGIZE, __LINE__ )
#define CLICKABLE_MESSAGE	__FILE__ "(" LINE_AS_STRING "): "

// once defined, use like so:
#pragma message(CLICKABLE_MESSAGE "Fix this problem!")

