From b63d5c9ec4145317ef66fb65cad252b56bad1593 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Wed, 7 Sep 2011 11:24:18 +0200 Subject: [PATCH] Update PC-Lint settings file --- libftdi.lnt | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/libftdi.lnt b/libftdi.lnt index 2682b95..4ff6280 100644 --- a/libftdi.lnt +++ b/libftdi.lnt @@ -1,5 +1,7 @@ // PC-Lint 9.00 settings --iz:\usr\include\libusb-1.0 +--i../src +--i../ftdipp -emacro(527, ftdi_error_return) // ignore "unreachable code" -emacro(717, ftdi_error_return) @@ -9,3 +11,18 @@ +fie // Allow enum to int conversion -ecall(534, usb_close) // silence ignored return value from usb_close + +// Disable bogus BOOST warnings +-emacro(58,BOOST_ASSERT) +-emacro(506, BOOST_FOREACH) +-emacro(666, BOOST_FOREACH) +-esym(666, BOOST_FOREACH) +-emacro(1023, BOOST_FOREACH) +-emacro(1793, BOOST_FOREACH) +-esym(665, BOOST_FOREACH) +-e123 + +// Don't complain we are running with -wlib(0) +// as the boost headers can't be parsed properly +-estring(686, -wlib(0)) +-wlib(0) -- 1.7.1