summaryrefslogtreecommitdiffstats
path: root/src/hdf5-win.lnt
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-12-29 14:09:37 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-12-29 14:09:37 (GMT)
commit9b96fd2003ae74cca389cc4c2216b4371d6eb173 (patch)
tree29b12511569e5eb93ce8409a7fd70b83248b1af5 /src/hdf5-win.lnt
parentccf1afca9a8c6fa8fa348b75a36302a21d53ee97 (diff)
downloadhdf5-9b96fd2003ae74cca389cc4c2216b4371d6eb173.zip
hdf5-9b96fd2003ae74cca389cc4c2216b4371d6eb173.tar.gz
hdf5-9b96fd2003ae74cca389cc4c2216b4371d6eb173.tar.bz2
[svn-r9723] Purpose:before_signed_unsigned_changes
Add new file Description: Add new PC-Lint/Flexelint configuration files
Diffstat (limited to 'src/hdf5-win.lnt')
-rw-r--r--src/hdf5-win.lnt39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/hdf5-win.lnt b/src/hdf5-win.lnt
new file mode 100644
index 0000000..350b603
--- /dev/null
+++ b/src/hdf5-win.lnt
@@ -0,0 +1,39 @@
+// Define the __FUNCTION__ so we don't get warnings about using it.
+-d__FUNCTION__="NoFunctionName"
+
+// Turn off warnings about "Ignoring return value of function" for
+// H5open() in public error macros
+-emacro(534, H5Epush_ret, H5Epush_goto)
+
+// Suppress message about "Suspicious cast" in FUNC_ENTER* macros
+-emacro(611,FUNC_ENTER_API,FUNC_ENTER_NOAPI)
+
+// Suppress message about "Boolean within 'if' always evaluates false" in FUNC_ENTER* macros
+-emacro(774,FUNC_ENTER_API,FUNC_ENTER_NOAPI)
+
+// Suppress message about "Static variable found within inline function" in FUNC_ENTER* macros
+-emacro(1534,FUNC_ENTER_NOINIT)
+
+// Suppress message about "Shift right of signed quantity" in H5I_GRP macro
+-emacro(702,H5I_GRP)
+
+// Suppress message about "Constant expression evaluates to 0 in expression" in H5FL_ARR* macros
+-emacro(778,H5FL_ARR_DEFINE_COMMON)
+
+// Suppress message about "Union initialization" in H5FL_ARR* macros
+-emacro(708,H5FL_ARR_DEFINE_COMMON)
+
+// Suppress message about "enum constant not used within defaulted switch"
+-e788
+
+// Indicate functions that are like printf()
+-printf(2,HDfprintf)
+
+// Tell lint about additional printf() format codes that HDfprintf understands
+-printf_code(a,haddr_t)
+-printf_code(Hu,hsize_t)
+-printf_code(Hd,hssize_t)
+-printf_code(Zu,size_t)
+-printf_code(Zd,ssize_t)
+
+