Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SURF] Callbacks now use the INITIALIZER macros
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 21 Jul 2015 10:20:22 +0000 (12:20 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 21 Jul 2015 10:20:22 +0000 (12:20 +0200)
commit3bcec4e865accfb7659d7431b5bc21121429b681
treea792b12a29e158733abdeb0d0085350055b2ca81
parent5677df9af6d2d3f0530b8213b964594247b61769
[SURF] Callbacks now use the INITIALIZER macros

- Callbacks such as s_sg_platf_link_cbarg_t were not at all
  correctly initialized before; this was fixed!

- Several initializers used valid C99 initializer syntax; however,
  this is not supported by C++. Hence, these initializers were changed
  to simple lists. See also
  https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html
  for more details on this issue.
include/simgrid/platf.h
src/surf/platf_generator.c
src/surf/surf_routing.cpp
src/surf/surf_routing_cluster.cpp
src/surf/surf_routing_cluster_fat_tree.cpp
src/surf/surf_routing_cluster_torus.cpp
src/surf/surfxml_parse.c