On 17/12/10 04:14, Henrik Nordström wrote:
fre 2010-12-17 klockan 01:38 +1300 skrev Amos Jeffries:
Apparently old GCC (dont care), HPUX and Solaris (do care) all complain
about it.
According to some C++ discussions they are wrong, but it does not hurt
to remove these for now and save on using a bunch of hacks.
I would not call static functions a hack, static vs global is just
another namespace tuning tool, but fine.
no, no. I don't mean the static was a hack, but figuring out where it
was usable and where not is. To keep it we have to add many repetitions
of this:
#if _SQUID_SOLARIS_ && !defined(__GNUC_) || _SQUID_HPUX_ && defined(__GNUC_)
// compiler wont accept static
#else
static
#endif
Amos
--
Please be using
Current Stable Squid 2.7.STABLE9 or 3.1.9
Beta testers wanted for 3.2.0.3