]> granicus.if.org Git - check/commitdiff
* Add FIXME documenting broken fail_if and fail_unless macros.
authorcpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Fri, 13 Oct 2006 04:15:58 +0000 (04:15 +0000)
committercpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Fri, 13 Oct 2006 04:15:58 +0000 (04:15 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@346 64e312b2-a51f-0410-8e61-82d0ca0eb02a

src/check.h.in

index 03705ff1b1a5731b832a725decbdc0e4b3a95b05..bead72fca6f8d7288bd545c055db7ca2f9f76110 100644 (file)
@@ -193,6 +193,9 @@ static void __testname (int i __attribute__((unused)))\
 /* The space before the comma sign before ## is essential to be compatible
    with gcc 2.95.3 and earlier.
 */
+
+/* FIXME: these macros may conflict with C89 if expr is 
+   FIXME:   strcmp (str1, str2) due to excessive string length. */
 #define fail_if(expr, ...)\
         _fail_unless(!(expr), __FILE__, __LINE__,\
         "Failure '"#expr"' occured" , ## __VA_ARGS__, NULL)