#17 Warning-fixes for owlib

Unstable_(example)
accepted
Paul Alfille
None
1
2014-04-04
2013-02-10
Mikhail Teterin
No

Hello! In the course of preparing a FreeBSD-port of owfs, I came up with the attached patch-set, that quiets down compiler warnings I encountered building on FreeBSD-9.1/amd64. These are only for the owlib (owcapi is clean).

The compiler flags I'm using are fairly strict -- to the level of WARNS=3 on FreeBSD:
-Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign
most of the warnings are either functions missing declarations or stuff defined, but never used.

Because there is no PF_NETLINK on FreeBSD, I chose to simply ignore the OW_W1 code (for now). Please, consider including these in the next release. Thank you!

1 Attachments

Discussion


  • Anonymous
    2014-04-04

    Post awaiting moderation.


Anonymous


Cancel   Add attachments