+static void package2filename(apr_pool_t *p, const char *package, + char **filename, int *len) +{ + *filename = apr_palloc(p, (strlen(package)+4)*sizeof(char)); + const char *s; + char *d;
Sorry, I know how annoying this problem can be :
modperl_mgv.c: In function `package2filename': modperl_mgv.c:189: warning: ISO C90 forbids mixed declarations and code
Reorded and checked-in!
Thanks Philippe,
I'm still waiting for the Mandrake gcc release which supports the new flag: -Wdeclaration-after-statement, introduced about 6 months ago :(
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]