summaryrefslogtreecommitdiff
path: root/doc/README.developer
diff options
context:
space:
mode:
Diffstat (limited to 'doc/README.developer')
-rw-r--r--doc/README.developer17
1 files changed, 0 insertions, 17 deletions
diff --git a/doc/README.developer b/doc/README.developer
index 4e9f33cdf6..30dc613b31 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -385,23 +385,6 @@ to implement it. Use something like
instead.
-Don't use "variadic macros", such as
-
- #define DBG(format, args...) fprintf(stderr, format, ## args)
-
-as not all C compilers support them. Use macros that take a fixed
-number of arguments, such as
-
- #define DBG0(format) fprintf(stderr, format)
- #define DBG1(format, arg1) fprintf(stderr, format, arg1)
- #define DBG2(format, arg1, arg2) fprintf(stderr, format, arg1, arg2)
-
- ...
-
-or something such as
-
- #define DBG(args) printf args
-
Don't use
case N ... M: