Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516068 - net-libs/libtorrent-0.13.4 - ./../../torrent/object.h:304:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Summary: net-libs/libtorrent-0.13.4 - ./../../torrent/object.h:304:92: warning: derefe...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-02 13:00 UTC by Witold Piłat
Modified: 2014-12-28 09:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Witold Piłat 2014-07-02 13:00:13 UTC
libtorrent throws a bunch of -Wstrict-aliasing warnings while compiling.

 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * ./../../torrent/object.h:304:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 * ./../../torrent/object.h:305:98: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 * ./../../torrent/object.h:306:88: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

(...)

Proposed solution in the summary.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-28 09:12:18 UTC
The output would also have told you to file a bug report upstream.