Opened 10 years ago

Closed 10 years ago

#4381 closed Bug (invalid)

utp.cpp:123:59: warning: dereferencing type-punned pointer will break strict-aliasing rules

Reported by: pva0xd Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.33
Severity: Normal Keywords:
Cc:

Description

utp.cpp has following warning:

  • QA Notice: Package has poor programming practices which may compile
  • fine but exhibit random runtime failures.
  • utp.cpp:123:59: warning: dereferencing type-punned pointer will break strict-aliasing rules

These are known to break with recent compiler. If interested, take a look at this blog posts:

http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html

Or there are much more clarifications in google...

Change History (1)

comment:1 Changed 10 years ago by jordan

  • Resolution set to invalid
  • Status changed from new to closed

Thank you for reporting this issue.

libutp is a third-party package maintained independently from Transmission.

The proper place to report this issue is https://github.com/bittorrent/libutp/issues.

Thank you!

Note: See TracTickets for help on using tickets.