From e83582ddbc62ff2bf8dc35cf64612df0713ac690 Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 16 Sep 2004 11:33:03 +0000 Subject: [PATCH 1/1] some notes about coding standards to ensure portability git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@421 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- README.coding | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 README.coding diff --git a/README.coding b/README.coding new file mode 100644 index 0000000000..dd18e227d5 --- /dev/null +++ b/README.coding @@ -0,0 +1,12 @@ +** +** Random bits about coding standards and portability + +MALLOC: + You must cast the result of malloc on AIX. + It's even better to use gras_new when possible. + +SIZE_T + #include in all files manipulating size_t + do cast it to unsigned long before printing (and use %lu) + + -- 2.20.1