aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-02 15:14:24 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-02 23:18:49 +0000
commitf9df9ffb3fd479e3d0bd1bde7ca299ce5bd1872b (patch)
tree7d44d9fc662b6cd9b3557fc930d9ec7b524b795f /doc
parent40a21c0236d1ad373c42f130ace0bc5873fea373 (diff)
Note that variadic macros *can* be sued.
Change-Id: I15bfda76256e5d1084ad7c64006f93afaf071a9e Reviewed-on: https://code.wireshark.org/review/13010 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.developer5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/README.developer b/doc/README.developer
index 1e85a91337..b98c6fe23c 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -75,7 +75,10 @@ AIX, for example, doesn't do so by default). C++-style comments can be
used in C++ code, of course.
In general, don't use C99 features since some C compilers used to compile
-Wireshark don't support C99 (E.G. Microsoft C).
+Wireshark, such as Microsoft's C compiler, don't support all C99
+features. The C99 features that can be used are:
+
+ variadic macros
Don't initialize variables in their declaration with non-constant
values. Not all compilers support this. E.g. don't use