Skip site navigation (1) Skip section navigation (2)

Re: Issue on compiling pgAdmin trunk

From: Dave Page <dpage(at)postgresql(dot)org>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Issue on compiling pgAdmin trunk
Date: 2007-07-28 16:45:50
Message-ID: 46AB72BE.4000007@postgresql.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Guillaume Lelarge wrote:
> Hi,
> 
> I had an issue when I tried to compile pgAdmin today. I did a complete
> svn update (I mean I first did rm -rf on my directory, then svn update,
> then ./configure, then make). gcc is complaining about duplicate use of
> DebuggerApiVersion :
> 
> ../pgadmin/include/debugger/dbgPgConn.h:67: error: declaration of
> 'DebuggerApiVersion dbgPgConn::DebuggerApiVersion()'
> ../pgadmin/include/debugger/dbgPgConn.h:37: error: changes meaning of
> 'DebuggerApiVersion' from 'typedef enum DebuggerApiVersion
> DebuggerApiVersion'
> 
> So I changed the Enum's name to DebuggerApiVersion_Enum and everything
> compiles now. Nevertheless, I'm not sure I did right, even if it
> compiles fine. So, here is my patch.
> 
> Comments are more than welcome :)

Yeah, I spotted that in the auto-build last night. The fix seems sound, 
but I'm not keen on the name. Perhaps just DebuggerApiVersions (note the s)?

Anyhoo, please commit if you have a minute.

Thanks, Dave.

In response to

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2007-07-28 16:51:45
Subject: Re: Small patch for tips.txt
Previous:From: Devrim GÜNDÜZDate: 2007-07-28 15:40:49
Subject: Small patch for tips.txt

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group