Looks like the new src/stub_debug.cc file have not been tested?

Seems to be missing a whole lot #include files. It's not pulling in
squid.h so it needs to include every header it needs.

The errors I get are:

        stub_debug.cc: In function 'void _db_print(const char*, ...)':
        stub_debug.cc:20: error: 'BUFSIZ' was not declared in this scope
        stub_debug.cc:29: error: 'f' was not declared in this scope
        stub_debug.cc:31: error: 'snprintf' was not declared in this scope
        stub_debug.cc: In function 'void _db_print_stderr(const char*, 
__va_list_tag*)':
        stub_debug.cc:49: error: 'stderr' was not declared in this scope
        stub_debug.cc:49: error: 'vfprintf' was not declared in this scope

which all seem to be due to missing #include <stdio.h>

Regards
Henrik

Reply via email to