X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e7f57f7d31cdd823f4915aaf54442cadea13cb54..e67841d89e12eca6d394db1b31180d6f0efda8eb:/examples/gras_stub_generator diff --git a/examples/gras_stub_generator b/examples/gras_stub_generator index ff8a6b6e4d..2791ff51ed 100755 --- a/examples/gras_stub_generator +++ b/examples/gras_stub_generator @@ -9,12 +9,13 @@ # under the terms of the license (GNU LGPL) which comes with this package. use strict; -use warnings; - +eval qq{ + use warnings; +}; # warnings not defined in 5.00503/sun4-solaris sub usage { my ($msg)=@_; - fail ($msg? "gras_stub_generator: $msg\n":""). + die ($msg? "gras_stub_generator: $msg\n":""). "gras_stub_generator: USAGE\n". " gras_stub_generator project_name deployment_file\n" } @@ -45,7 +46,7 @@ $warn #include #include -#include +#include "msg/msg.h" #include char *gras_log=NULL; @@ -61,18 +62,20 @@ foreach (keys %process) { print OUT<