git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f294432
)
Add note about not using C99 features.
author
Bill Meier
<wmeier@newsguy.com>
Sat, 20 Feb 2010 17:36:18 +0000
(17:36 -0000)
committer
Bill Meier
<wmeier@newsguy.com>
Sat, 20 Feb 2010 17:36:18 +0000
(17:36 -0000)
svn path=/trunk/; revision=31933
doc/README.developer
patch
|
blob
|
history
diff --git
a/doc/README.developer
b/doc/README.developer
index 779d7cee40720c9f4eaf5922d81968954c540cf8..927bc39811d67e1e086fb05bb236e6b9130c12c4 100644
(file)
--- 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];