aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.developer
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-02-20 17:36:18 +0000
committerBill Meier <wmeier@newsguy.com>2010-02-20 17:36:18 +0000
commitf7440d43e461b1cec9585a9d6c1183d5df1dc532 (patch)
tree34d6180a12c5755e4ebc954603d6293fdb2fd634 /doc/README.developer
parentf2944322f6c487f3371ac6a87ffded140f0027e3 (diff)
Add note about not using C99 features.
svn path=/trunk/; revision=31933
Diffstat (limited to 'doc/README.developer')
-rw-r--r--doc/README.developer3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/README.developer b/doc/README.developer
index 779d7cee40..927bc39811 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -81,6 +81,9 @@ thus run through C rather than C++ compilers, and not all C compilers
support C++-style comments (GCC does, but IBM's C compiler for AIX, for
example, doesn't do so by default).
+In general, don't use C99 features since some C compilers used to compile
+Wireshark don't support C99 (E.G. Microsoft C).
+
Don't initialize variables in their declaration with non-constant
values. Not all compilers support this. E.g. don't use
guint32 i = somearray[2];