Search squid archive

Re: compiler Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 01 August 2018 at 23:34:28, joseph wrote:

> hi after i upgrade my debian i got gcc 8

So, maybe this is a Debian or a GCC problem, rather than a Squid problem?

> and warnings being treated as errors

Have you tried compiling anything other than Squid to see whether the problem 
is with Squid or with the GCC defaults?

> cache_cf.cc: In function ‘void parse_time_t(time_t*)’:
> cache_cf.cc:2981:36: error: ‘tval’ may be used uninitialized in this
> function [-Werror=maybe-uninitialized]
>      *var = static_cast<time_t>(tval/1000);
>                                 ~~~~^~~~~

That does seem rather paranoid to me - "may be used uninitialized..." as an 
error!?

Anyway, tell us exactly how you were building Squid when this happened, and we 
may have some more ideas about what to do about it.


Antony.

-- 
This sentence contains exacly three erors.

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux