From 6e4bc45182ce2e828300e21597c2177bddae03ac Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Wed, 29 Jul 2015 19:53:32 -0600 Subject: [PATCH] Update 06-Considering_Portability.md --- 06-Considering_Portability.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/06-Considering_Portability.md b/06-Considering_Portability.md index 8799ca5..228f5c0 100644 --- a/06-Considering_Portability.md +++ b/06-Considering_Portability.md @@ -5,3 +5,7 @@ Most portability issues that generate warnings are because we are not careful about our types. Standard library and arrays are indexed with `size_t`. Standard container sizes are reported in `size_t`. If you get the handling of `size_t` wrong, you can create subtle lurking 64-bit issues that arise only after you start to overflow the indexing of 32-bit integers. char vs unsigned char. http://www.viva64.com/en/a/0010/ + +## Other Concerns + +Most of the other concerns in this document ultimately come back to portability issues. [Avoid statics](07-Considering_Threadability.md#statics) is particularly of note.