On 25/03/11 04:51, Alex Rousskov wrote:
On 03/24/2011 08:13 AM, Amos Jeffries wrote:
I've got it to the point where all the simple ones appear gone.

Anyone have a clue what this means? and how we fix it?

The closest I could get was that it did not like the system definitions
inside<iosfwd>


/usr/include/c++/4.1.2/cstdio(109): error: the global scope has no
"fgetpos"
     using ::fgetpos;
             ^
/usr/include/c++/4.1.2/cstdio(111): error: the global scope has no "fopen"
     using ::fopen;
...
/usr/include/c++/4.1.2/cstdio(138): error: the global scope has no
"tmpfile"
     using ::tmpfile;
             ^
compilation aborted for ../../../src/base/AsyncJob.cc (code 2)


If the above "using ::foo" lines are inside the /usr/include/ header
file (included by<iosfwd>?), then the compiler seems to be complaining
that said functions are not declared, making the "using" statements
invalid. This would be a compiler [header file] bug then.

Try #including<stdio.h>  in Squid files _before_ including<iosfwd>. If
it helps, we would need to provide an<iosfwd>  wrapper as the final
solution.


No luck I'm afraid.

 stdio.h is already include earlier by the compat headers.
I tried it explicitly directly ahead, and cstdio as well. Both showed no change.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.11
  Beta testers wanted for 3.2.0.5

Reply via email to