On 12/22/10 8:43 AM, Julian Foad wrote:
> On Wed, 2010-12-22, Blair Zajac wrote:
>> On 12/22/10 4:36 AM, Julian Foad wrote:
>>> subversion/libsvn_repos/commit.c:648: no previous prototype for
>>> 'svn_repos__post_commit_error_str'
>>
>> Thanks, fixed in r1051968.
>>
>> Which compiler are you using that gives this warning?
>
> GCC.
>
>> From the output of "make":
>
> [...]/libtool --tag=CC --silent --mode=link gcc -Wno-system-headers
> -Wold-style-definition -Wdeclaration-after-statement -Wpointer-arith
> -Wwrite-strings -Wshadow -ansi -Wall -Wformat=2 -Wunused
> -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wno-multichar -Wredundant-decls -Wnested-externs
> -Wunreachable-code -Winline -Wno-long-long -g -DAPR_POOL_DEBUG -Wundef
> -Wendif-labels -Wcast-qual -Wno-deprecated-declarations
> -Wno-unreachable-code -Wno-format-nonliteral -pthread
> -D_LARGEFILE64_SOURCE -DNE_LFS -Werror=implicit-function-declaration
> -DSVN_DEBUG -DAP_DEBUG [...]
>
> (The first group of options are inserted by Subversion's configury, and
> my config/build/test script sets CFLAGS to "-g -O -DAPR_POOL_DEBUG
> -Wundef -Wendif-labels -Wcast-qual -Wno-deprecated-declarations
> -Wno-unreachable-code -Wno-format-nonliteral".)
Thanks, I've added these to my script.
Lots of warnings in the build now. I remember the days when we have a warning
free build. It would be nice to have that back, but it would be a bunch of work.
Blair
Received on 2010-12-22 21:04:28 CET