Update of /cvsroot/cppunit/cppunit2/include/cpput
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11586
Modified Files:
assert.h
Log Message:
* added reference to potential C99 __func__ standard variable.
Index: assert.h
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/include/cpput/assert.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** assert.h 1 Mar 2005 19:36:51 -0000 1.9
--- assert.h 6 Mar 2005 18:38:03 -0000 1.10
***************
*** 112,115 ****
--- 112,119 ----
+ // __func__ should contains the current fonction name on many compiler (C99 compiler extension). See:
+ // http://publib.boulder.ibm.com/infocenter/pseries/index.jsp?topic=/com.ibm.vacpp7a.doc/language/ref/clrc02predefined_identifiers.htm
+ // Available if __C99__FUNC__ is defined:
+ // http://publib.boulder.ibm.com/infocenter/pseries/index.jsp?topic=/com.ibm.vacpp7a.doc/language/ref/clrapxaix_macros.htm
# define CPPUT_CHECK_POINT( assertionType ) \
::CppUT::TestInfo::newAssertion( ::CppUT::assertionType, __FILE__, __LINE__)
|