Re: [pgadmin-hackers] Re: [pgadmin-hackers] error: expected initializer before ‘!’ token

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
Cc: Guillaume Lelarge <guillaume(at)lelarge(dot)info>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgadmin-hackers] Re: [pgadmin-hackers] error: expected initializer before ‘!’ token
Date: 2011-03-13 08:46:27
Message-ID: AANLkTiksP1ZcNnesSzxNAXjF=uZsgzG9Uh8vwjf7N4yM@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Sun, Mar 13, 2011 at 1:52 AM, Peter Geoghegan <peter(at)2ndquadrant(dot)com> wrote:
> On 12 March 2011 19:13, Guillaume Lelarge <guillaume(at)lelarge(dot)info> wrote:
>> Maybe a stupid question but what is the ! in the variable name
>> (ex_hash_setop_except_png!_data)?
>
> There's no good reason. It isn't a valid identifier name.
>
> Whatever preprocessor generates ex_hash_setop_except.pngc and other
> files like it is broken.
>
> Take a look at this code, at line 205 of same, that clearly illustrates this:
>
> static wxIcon *ex_hash_setop_except_png!_ico()

Line 205 here reads:

static wxIcon *ex_hash_setop_except_png_ico()

On Mac and Windows (and Linux worked last time I tried it). Can you
see what's causing the issue for you in the preprorocessor?

/D

--

Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2011-03-14 09:00:02 pgAgent commit: USe exit status macros to get the Unix exit code, and r
Previous Message Guillaume Lelarge 2011-03-13 00:44:16 Support for the new client_hostname in pg_stat_activity