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

Re: [PATCH] Allow building with g++

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 12 Mar 2013 14:22:06 +0000

Mark Phippard <markphip_at_gmail.com> writes:

> On Tue, Mar 12, 2013 at 6:09 AM, Philip Martin <philip_at_codematters.co.uk>wrote:
>
>> The patch below allows Subversion to be compiled with g++ provided the
>> the option -fpermissive is used. The advantage of doing this is that we
>> get extra warnings, in particular we get enum type checking (in C any
>> enum can be passed where an enum is expected). This isn't a conversion
>> to C++, Subversion is still C, it's simply an option to allow another
>> compiler.
>>
>>
> You do not mention this, so I will ask. After applying this patch and
> compiling with g++ has it shown you any useful warnings that you were not
> already aware of?

I used g++ to detect enum mismatches: r1455349, r1455163 and r1448854.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-03-12 18:33:56 CET

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.