[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: FYI wc-queries.h - file format questionable?

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 26 Oct 2011 15:02:05 -0400

On Mon, Oct 24, 2011 at 20:50, NormW <normw_at_gknw.net> wrote:
> Hi,
> Unsure a 'bug' but when compiling wc-queries.h file with (an oldish) gcc for
> NetWare get 1000's of warnings as shown:
>
>> In file included from
>> D:/Projects/srcs/subversion-1.7.1/subversion/libsvn_wc/entries.c:44:
>> D:/Projects/srcs/subversion-1.7.1/subversion/libsvn_wc/wc-queries.h:6:3:
>> warning: multi-line string literals are deprecated

I believe your compiler is broken. The backslash *is* needed at the
end of the line since it is part of a macro definition. If the strings
were in "real" code, then yeah: that backslash would not be needed
(which the warning is trying to tell you, but the warning is wrong in
this context).

>...

Cheers,
-g
Received on 2011-10-26 21:02:38 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.