[Date Prev][Date Next]
Re: (ITS#8018) a lot of warnings building with -Wall
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8018) a lot of warnings building with -Wall
- From: firstname.lastname@example.org
- Date: Tue, 06 Jan 2015 14:56:53 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
> Full_Name: Leonid Yuriev
> Version: git-master
> OS: RHEL7
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (220.127.116.11)
> It is about 5K warnings reported by gcc/clang if building OpenLDAP with -Wall.
> CFLAGS="-Wall" ./configure ...
> make depend && make
> The vast majority of warnings about harmless things: unnecessary arguments to
> printf through Debug macro,
Ignore those. Use -Wno-format-extra-args
> unused variables and functions, etc.
> But such amount of warnings makes impossible to use -Wall to find a potential
> I have prepared the patchset which fixes most of these warnings.
> It will be submited shortly.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/