3.1.5.1 do not build

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Thu, 29 Jul 2010 00:33:12 +0200

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
Received on Wed Jul 28 2010 - 22:33:17 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 29 2010 - 12:00:10 MDT