On 31.03.2010 00:14, [email protected] wrote: > Author: minfrin > Date: Tue Mar 30 22:14:24 2010 > New Revision: 929318 > > URL: http://svn.apache.org/viewvc?rev=929318&view=rev > Log: > Retract veto over inconsistent behaviour between directory and file wildcards, > implement wrowe's missing directory wilcard must fail / missing file wildcard > must pass requirement. Introduce 'optional' and 'strict' modifiers to the > Include directive for the end user to express their desired behaviour. > > Modified: > httpd/httpd/trunk/docs/manual/mod/core.xml > httpd/httpd/trunk/server/config.c > httpd/httpd/trunk/server/core.c >
This breaks compilation of trunk: config.c:1562: warning: ‘enum strict_how’ declared inside parameter list config.c:1562: warning: its scope is only this definition or declaration, which is probably not what you want config.c:1562: error: parameter 7 (‘strict’) has incomplete type config.c: In function ‘process_resource_config_nofnmatch’: config.c:1619: error: type of formal parameter 7 is incomplete config.c: At top level: config.c:1664: warning: ‘enum strict_how’ declared inside parameter list config.c:1664: error: parameter 8 (‘strict’) has incomplete type config.c: In function ‘process_resource_config_fnmatch’: config.c:1687: error: type of formal parameter 7 is incomplete config.c:1692: error: type of formal parameter 8 is incomplete config.c:1743: error: type of formal parameter 7 is incomplete config.c:1748: error: type of formal parameter 8 is incomplete config.c:1765: error: ‘AP_STRICT’ undeclared (first use in this function) config.c:1765: error: (Each undeclared identifier is reported only once config.c:1765: error: for each function it appears in.) config.c:1769: error: ‘AP_MIXED’ undeclared (first use in this function) config.c: At top level: config.c:1783: warning: ‘enum strict_how’ declared inside parameter list config.c:1783: error: parameter 6 (‘strict’) has incomplete type config.c: In function ‘ap_process_resource_config_ex’: config.c:1800: error: type of formal parameter 7 is incomplete config.c:1819: error: type of formal parameter 8 is incomplete config.c: In function ‘ap_process_resource_config’: config.c:1832: error: ‘AP_MIXED’ undeclared (first use in this function) config.c:1832: error: type of formal parameter 6 is incomplete make[2]: *** [config.lo] Fehler 1 make[2]: *** Warte auf noch nicht beendete Prozesse... make[1]: *** [all-recursive] Fehler 1 make: *** [all-recursive] Fehler 1 config.c:1562: warning: ‘enum strict_how’ declared inside parameter list config.c:1562: warning: its scope is only this definition or declaration, which is probably not what you want config.c:1562: error: parameter 7 (‘strict’) has incomplete type config.c: In function ‘process_resource_config_nofnmatch’: config.c:1619: error: type of formal parameter 7 is incomplete config.c: At top level: config.c:1664: warning: ‘enum strict_how’ declared inside parameter list config.c:1664: error: parameter 8 (‘strict’) has incomplete type config.c: In function ‘process_resource_config_fnmatch’: config.c:1687: error: type of formal parameter 7 is incomplete config.c:1692: error: type of formal parameter 8 is incomplete config.c:1743: error: type of formal parameter 7 is incomplete config.c:1748: error: type of formal parameter 8 is incomplete config.c:1765: error: ‘AP_STRICT’ undeclared (first use in this function) config.c:1765: error: (Each undeclared identifier is reported only once config.c:1765: error: for each function it appears in.) config.c:1769: error: ‘AP_MIXED’ undeclared (first use in this function) config.c: At top level: config.c:1783: warning: ‘enum strict_how’ declared inside parameter list config.c:1783: error: parameter 6 (‘strict’) has incomplete type config.c: In function ‘ap_process_resource_config_ex’: config.c:1800: error: type of formal parameter 7 is incomplete config.c:1819: error: type of formal parameter 8 is incomplete config.c: In function ‘ap_process_resource_config’: config.c:1832: error: ‘AP_MIXED’ undeclared (first use in this function) config.c:1832: error: type of formal parameter 6 is incomplete make[2]: *** [config.lo] Fehler 1 make[1]: *** [install-recursive] Fehler 1 make: *** [install-recursive] Fehler 1 Regards Rüdiger
