develooper Front page | perl.cvs.parrot | Postings from December 2008

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

From:
Whiteknight
Date:
December 23, 2008 10:20
Subject:
[svn:parrot] r34278 - trunk/src/stm
Message ID:
20081223182043.BB82CCBA12@x12.develooper.com
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



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About