[tor-bugs] #31687 [Core Tor/Tor]: FreeBSD compilation warns with Tor 0.4.1.5

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 10 14:40:21 UTC 2019


#31687: FreeBSD compilation warns with Tor 0.4.1.5
------------------------------+-----------------------------------------
     Reporter:  nickm         |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.4.1.x-final
    Component:  Core Tor/Tor  |    Version:  Tor: 0.4.1.5
     Severity:  Normal        |   Keywords:  warning compiler 041-should
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+-----------------------------------------
 On tor-dev, grarpamp reports:

 {{{
 src/core/or/connection_edge.c:2563:5: warning: potential null pointer
 dereference [-Wnull-dereference]
 src/lib/math/fp.c:106:16: warning: conversion from 'double' to 'float'
 may change value [-Wfloat-conversion]
 src/lib/math/fp.c:111:18: warning: conversion from 'double' to 'float'
 may change value [-Wfloat-conversion]
 src/lib/math/fp.c:136:16: warning: conversion from 'double' to 'float'
 may change value [-Wfloat-conversion]
 src/lib/math/fp.c:88:13: warning: conversion from 'double' to 'float'
 may change value [-Wfloat-conversion]
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31687>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list