<<< Date Index >>>     <<< Thread Index >>>

-pedantic flag and warnings



The configure.in file contains:

if test x$GCC = xyes -a $mutt_cv_warnings = yes; then
        CFLAGS="-Wall -pedantic $CFLAGS"
fi

Is there a reason to use the -pedantic flag in C90 mode whereas Mutt
does not conform to ISO C90?

For instance, I get the following warnings:

copy.c: In function 'mutt_copy_header':
copy.c:473: warning: ISO C90 does not support the 'll' printf length modifier
copy.c: In function '_mutt_copy_message':
copy.c:582: warning: ISO C90 does not support the 'll' printf length modifier
copy.c: In function 'copy_delete_attach':
copy.c:825: warning: ISO C90 does not support the 'll' printf length modifier

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA