[sr-dev] compiler warnings in debian jessie

Daniel-Constantin Mierla miconda at gmail.com
Thu May 7 09:20:14 CEST 2015



On 07/05/15 09:12, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> thanks for reporting, I pushed patches for app_lua and binrpc.
> Thanks.  It helps finding real issues when minimal amount of "harmless"
> warnings are produced.
I agree.
>
>> The ones from cfg/ are for really old code, then sha256 files I guess
>> they were imported from some external lib -- I will look into them as
>> well with the first chance.
> Perhaps jessie gcc is stricter that in earlier releases, since I have
> not seen those warnings before.

What I find interesting is that each new release of compilers finds new
warning of the type:

"warning: dereferencing type-punned pointer will break strict-aliasing
rules"

even the code was there with the previous compiler version (which threw
other such warning in different parts of code).
Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com




More information about the sr-dev mailing list