Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Add missing inttypes.h include
authorGabriel Corona <gabriel.corona@loria.fr>
Mon, 4 May 2015 14:29:40 +0000 (16:29 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Mon, 4 May 2015 14:29:40 +0000 (16:29 +0200)
src/mc/mc_compare.cpp
src/mc/mc_dwarf.cpp
src/mc/mc_global.cpp
src/mc/mc_hash.cpp

index 1cfbd3c..d6204d4 100644 (file)
@@ -5,7 +5,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #define __STDC_FORMAT_MACROS
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #define __STDC_FORMAT_MACROS
-#include <inttypes.h>
+#include <cinttypes>
 #include <boost/unordered_set.hpp>
 
 #include <xbt/sysdep.h>
 #include <boost/unordered_set.hpp>
 
 #include <xbt/sysdep.h>
index 1fb7db1..c68e14b 100644 (file)
@@ -4,11 +4,12 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
+#include <cinttypes>
+
 #include <stdlib.h>
 #define DW_LANG_Objc DW_LANG_ObjC       /* fix spelling error in older dwarf.h */
 #include <dwarf.h>
 #include <elfutils/libdw.h>
 #include <stdlib.h>
 #define DW_LANG_Objc DW_LANG_ObjC       /* fix spelling error in older dwarf.h */
 #include <dwarf.h>
 #include <elfutils/libdw.h>
-#include <inttypes.h>
 
 #include <simgrid_config.h>
 #include <xbt/log.h>
 
 #include <simgrid_config.h>
 #include <xbt/log.h>
index 3b6f904..a307445 100644 (file)
@@ -4,6 +4,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
+#include <cinttypes>
+
 #include <assert.h>
 #include <string.h>
 #include <stdint.h>
 #include <assert.h>
 #include <string.h>
 #include <stdint.h>
index 628b2eb..4164c53 100644 (file)
@@ -4,6 +4,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
+#include <cinttypes>
+
 #include <stdint.h>
 #include <stdbool.h>
 
 #include <stdint.h>
 #include <stdbool.h>