don't confuse with warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@659 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
d07f863578
commit
2a1e54aec3
1 changed files with 7 additions and 0 deletions
|
@ -46,6 +46,10 @@ unsigned int MimicCOM::s_destructions = 0;
|
||||||
/// Used to check if SmartPtr can be used with a forward-reference.
|
/// Used to check if SmartPtr can be used with a forward-reference.
|
||||||
class Thingy;
|
class Thingy;
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
|
#warning The warnings are by design: Check if SmartPtr can be used with a forward-reference.
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef Loki::SmartPtr< Thingy, RefCounted, DisallowConversion,
|
typedef Loki::SmartPtr< Thingy, RefCounted, DisallowConversion,
|
||||||
AssertCheck, DefaultSPStorage, PropagateConst >
|
AssertCheck, DefaultSPStorage, PropagateConst >
|
||||||
Thingy_DefaultStorage_ptr;
|
Thingy_DefaultStorage_ptr;
|
||||||
|
@ -1035,6 +1039,9 @@ int main( unsigned int , const char * [] )
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.9 2006/05/30 14:17:05 syntheticpp
|
||||||
|
// don't confuse with warnings
|
||||||
|
//
|
||||||
// Revision 1.8 2006/05/18 05:05:21 rich_sposato
|
// Revision 1.8 2006/05/18 05:05:21 rich_sposato
|
||||||
// Added QueryInterface function to MimicCOM class.
|
// Added QueryInterface function to MimicCOM class.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue