[Bug 244795] net-mgmt/bsnmp-ucd: Fixing build with clang 10

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 13 16:59:00 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244795

            Bug ID: 244795
           Summary: net-mgmt/bsnmp-ucd: Fixing build with clang 10
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: trociny at FreeBSD.org
          Reporter: olivier at freebsd.org
             Flags: maintainer-feedback?(trociny at FreeBSD.org)
          Assignee: trociny at FreeBSD.org

Created attachment 212387
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212387&action=edit
patch to fix build with clang 10

clang 10 complains to build with this error message:
mibdio.c:175:10: error: implicit conversion from 'unsigned long long' to
'double' changes value from 18446744073709551615 to 18446744073709551616
[-Werror,-Wimplicit-int-float-conversion]
So convert the ULL into double to silence this error.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list