X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8a24f4bc03d6ae054db7fd55887207ae8da9ab7..43b6c0080dcbe6047eb88078f6471d0e43846899:/examples/gras_stub_generator diff --git a/examples/gras_stub_generator b/examples/gras_stub_generator index 1c6376e9a8..d908888d47 100755 --- a/examples/gras_stub_generator +++ b/examples/gras_stub_generator @@ -9,8 +9,9 @@ # 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)=@_; @@ -48,6 +49,8 @@ $warn #include #include +char *gras_log=NULL; + EOF ; foreach (keys %process) { print OUT "int $_(int argc,char *argv[]);\n"; } @@ -57,9 +60,19 @@ print OUT "\n$warn\n"; foreach (keys %process) { print OUT<