[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8018) a lot of warnings building with -Wall



leo@yuriev.ru wrote:
> Full_Name: Leonid Yuriev
> Version: git-master
> OS: RHEL7
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (31.130.36.33)
>
>
> It is about 5K warnings reported by gcc/clang if building OpenLDAP with -Wall.
>
>    CFLAGS="-Wall" ./configure ...

No need for that. Learn how to use make.

>    make depend && make

make AC_CFLAGS="-Wall -Wno-format-extra-args"

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/