Gcc is *very* permissive with pointers to functions. If we declare them as function, it understands that we meant pointer to functions. If we try to call a pointer to function, it understand we want to dereference that pointer before the call. Visual C++ is not that cleaver (what a surprise). So, try to sanitize a bit the situation by doing the Right Thing without expecting the compiler to understand what we really meant in the middle of what we said. (sorry for the huge diff)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4783
48e7efb5-ca39-0410-a469-
dd3cf9ba447f