[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
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> 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/