X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d5836a5d0f7d04b47a0eb9c6bab4d793e2c61ea0..fd28ea3d66eee426ac29108bc8a5d4f017dc326d:/examples/gras_stub_generator?ds=sidebyside diff --git a/examples/gras_stub_generator b/examples/gras_stub_generator index 0914718d07..84a1c8b18e 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,12 +60,22 @@ print OUT "\n$warn\n"; foreach (keys %process) { print OUT<