diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-09-26 00:41:00 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-09-26 00:41:00 +0000 |
commit | b314d74addf7e79754ee1a5a89ad022ff7cc56fd (patch) | |
tree | ea783f85c21dbc54910c66222e50a4abfb6e749f /doc/README.developer | |
parent | b2c8a339dd4ccfeb39566044e18be61484f391f5 (diff) |
Don't use
case N ... M:
as that's not supported by all compilers.
Say so in the Portability section of README.developer, in the hopes of
discouraging others from using that GCCism.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22976 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'doc/README.developer')
-rw-r--r-- | doc/README.developer | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/README.developer b/doc/README.developer index 0befb17a01..fdaee44876 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -346,6 +346,12 @@ or something such as #define DBG(args) printf args +Don't use + + case N ... M: + +as that's not supported by all compilers. + snprintf() -> g_snprintf() snprintf() is not available on all platforms, so it's a good idea to use the g_snprintf() function declared by <glib.h> instead. |