From the current 1.5.0-r1922
cc-1209 c99: WARNING File = mod_mysql_vhost.c, Line = 133
The controlling expression is constant.
if (!buffer_is_equal_string(s->core->backend, CONST_STR_LEN("mysql"))) continue;
cc-1196 c99: WARNING File = mod_mysql_vhost.c, Line = 142
The indicated function is declared implicitly.
if (sel->used && (qmark = index(sel->ptr, '?'))) {
cc-1515 c99: ERROR File = mod_mysql_vhost.c, Line = 142
A value of type "int" cannot be assigned to an entity of type "char *".
if (sel->used && (qmark = index(sel->ptr, '?'))) {
cc-1020 c99: ERROR File = mod_mysql_vhost.c, Line = 176
The identifier "MYSQL_OPT_RECONNECT" is undefined.
mysql_options(s->mysql, MYSQL_OPT_RECONNECT, &reconnect);
2 errors detected in the compilation of "mod_mysql_vhost.c".
gmake[3]: *** [mod_mysql_vhost_la-mod_mysql_vhost.lo] Fehler 1
gmake[3]: Leaving directory `/usr2/MIPS/lighttpd-1.5.0/src'
gmake[2]: *** [all-recursive] Fehler 1
gmake[2]: Leaving directory `/usr2/MIPS/lighttpd-1.5.0/src'
gmake[1]: *** [all-recursive] Fehler 1
gmake[1]: Leaving directory `/usr2/MIPS/lighttpd-1.5.0'