Issue 181 - warning: dereferencing type-punned pointer will break strict-aliasing rules (monotone)

[email protected]
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <f5b69af7135d2ef280234a2e8ed27a1a@localhost>
Hello,

A new issue has been created and assigned
to you:

181 - warning: dereferencing type-punned pointer will break strict-aliasing rules
Project: monotone
Status: New
Reported by: Peter Volkov
Labels:
 Type:Defect
 Priority:Medium

Description:

During monotone-1.0 build gcc reports following warnings:

src/commands.cc:450:57: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/commands.cc:460:88: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/automate.cc:2426:53: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/automate.cc:2441:73: warning: dereferencing type-punned pointer will break strict-aliasing rules


This may compile fine but exhibit random runtime failures.

--
Issue: https://code.monotone.ca/p/monotone/issues/181/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.