Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
some notes about coding standards to ensure portability
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 16 Sep 2004 11:33:03 +0000 (11:33 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 16 Sep 2004 11:33:03 +0000 (11:33 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@421 48e7efb5-ca39-0410-a469-dd3cf9ba447f

README.coding [new file with mode: 0644]

diff --git a/README.coding b/README.coding
new file mode 100644 (file)
index 0000000..dd18e22
--- /dev/null
@@ -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 <sys/types.h> in all files manipulating size_t
+ do cast it to unsigned long before printing (and use %lu)
+