N
N
Nemets852018-03-12 21:37:01
Squid
Nemets85, 2018-03-12 21:37:01

How to fix an error when building Squid?

When building squid, an error occurs in tools/squidclient/Ping.cc
deprecated conversion from string constant to char* [-Weerror=write-strings]
On the Internet, they write that it is necessary to change char to const char, but these manipulations did not lead to anything. What could be the problem and how to fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
CityCat4, 2018-03-13
@CityCat4

In general, this is a bug in the program :) Where did you get it like that?

N
Nemets85, 2018-03-13
@Nemets85

The problem was fixed by excluding squidclient from the assembly, which is not a particularly necessary utility.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question