From: Tomas Frydrych (tomasfrydrych_at_yahoo.co.uk)
Date: Wed Jan 28 2004 - 17:10:58 EST
someone added the following into xap_Frame.cpp
#pragma warning remove me
#if 0
 ...
#endif
I like the idea, but unfortunately #pragma is (by definition) non-
portable. ut_warning.h provides a framework for a portable solution.
Since preprocessor macros cannot expand to preprocessor directives, 
this cannot be handled through a macro. Rather to issue a warning you 
do:
#define UT_WARNING "my message"
#include "ut_warning.h"
which will result in something like 
#pragma ...  my message
Folk will need to implement a platform-specific #pragma code in 
ut_warning.h.
Tomas
This archive was generated by hypermail 2.1.4 : Sat Feb 28 2004 - 17:12:08 EST