[Bug 198689] contrib/ofed/management/libibmad/src/fields.c doesn't use ANSI-C; spits out a lot of warnings with clang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 18 20:58:58 UTC 2015


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

            Bug ID: 198689
           Summary: contrib/ofed/management/libibmad/src/fields.c doesn't
                    use ANSI-C; spits out a lot of warnings with clang
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ngie at FreeBSD.org

The code in ib_mad_f is not written in an ANSI-C compliant way:

https://svnweb.freebsd.org/base/head/contrib/ofed/management/libibmad/src/fields.c?revision=219820&view=markup#l60

It causes clang to spew out quite a few warnings about gcc-isms in the code...

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


More information about the freebsd-bugs mailing list