perl.cvs.parrot
[Top] [All Lists]

[svn:parrot] r34278 - trunk/src/stm

Subject: [svn:parrot] r34278 - trunk/src/stm
From:
Date: Tue, 23 Dec 2008 10:20:43 -0800 PST
Newsgroups: perl.cvs.parrot

Author: Whiteknight
Date: Tue Dec 23 10:20:42 2008
New Revision: 34278

Modified:
   trunk/src/stm/backend.c

Log:
[STM] Added a note here about how the debug definition for STM_TRACE is not C89 
compliant, and linked to the ticket where we are discussing the issue.

Modified: trunk/src/stm/backend.c
==============================================================================
--- trunk/src/stm/backend.c     (original)
+++ trunk/src/stm/backend.c     Tue Dec 23 10:20:42 2008
@@ -32,6 +32,8 @@
 #define STM_DEBUG 0
 
 #if STM_DEBUG
+/* XXX: TT#83 Variadic macros were added in C99, and are not well-supported
+        by all C89 compilers. */
 #  define STM_TRACE(x...) Parrot_io_fprintf(interp, Parrot_io_STDERR(interp), 
x); \
                                    Parrot_io_fprintf(interp, 
Parrot_io_STDERR(interp), "\n")
 #  undef fprintf

<Prev in Thread] Current Thread [Next in Thread>
  • [svn:parrot] r34278 - trunk/src/stm, Whiteknight <=