[Top][All Lists]

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

Re: [Lzip-bug] Signature for compress in lzip.h missing const

From: Juan Francisco Cantero Hurtado
Subject: Re: [Lzip-bug] Signature for compress in lzip.h missing const
Date: Sat, 15 Nov 2014 03:28:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 11/13/2014 12:03 AM, Antonio Diaz Diaz wrote:
> Hello Dagobert,
> Dagobert Michelsen wrote:
>> I am currently building plzip 1.2 on Solaris 10 Sparc with Sun Studio
>> 12 and caught an error in the signature of the compress-function
>> missing a "const". The attached patch fixes the issue.
> Thank you very much for reporting this. GCC does not catch it even with
> '-Wall -W --pedantic'.

Another recommended compiler to test your programs from time to time is
clang with the option "-Weverything". It shows a lot of false positives
but sometimes finds real bugs.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]