Re: [squid-users] Adding Header file

From: Paras Fadte <plfgoa@dont-contact.us>
Date: Tue, 15 Apr 2008 22:22:57 +0530

Hi Amos,

Thanks for the reply. The header file that I want to include is
"stack" which is already available in C++ just like "iostream" . When
I include it in a squid source file and try to create a stack
datatype, it gives an error saying "error: `stack' undeclared (first
use this function) " .

Example:

#include <stack>

stack<char> test; - -> gives error.

Thank you.

-Plf

On 4/15/08, Amos Jeffries <squid3@treenet.co.nz> wrote:
> Paras Fadte wrote:
>
> > Hi,
> >
> > I was trying to add header file "stack.h" in one of the squids source
> > code file so that I could define stack data types. But it doesn't
> > seem to work . Can anybody help me out with this please?
> >
> >
>
> Code discussions in squid-dev please.
>
> You need to:
> - add the files to the right sub-directory in the source,
> - add to teh matching Makefile.am in all the right places,
> - run bootstrap.sh,
> - run configure,
> - run make check,
> - ... and fix any of the errors that come up about your files.
> - test it works, and then submit a patch and request to have it used.
>
> NP: other errors in existing code. If any occur, please mention to
> squid-dev so we can check and fix.
>
> Amos
> --
> Please use Squid 2.6.STABLE19 or 3.0.STABLE4
>
Received on Tue Apr 22 2008 - 13:40:59 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 30 2008 - 12:00:07 MDT