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

Re: [pgadmin-hackers] Re: [pgadmin-hackers] error: e?==?windows-1252?Q?xpected initializer before ‘!’ token

From: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgadmin-hackers] Re: [pgadmin-hackers] error: e?==?windows-1252?Q?xpected initializer before ‘!’ token
Date: 2011-03-12 20:22:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers
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()
	static wxIcon *ico_ex_hash_setop_except_png!;
	if (!ico_ex_hash_setop_except_png! || !ico_ex_hash_setop_except_png!->IsOk())
		ico_ex_hash_setop_except_png! = new wxIcon();
	return ico_ex_hash_setop_except_png!;

Peter Geoghegan
PostgreSQL Development, 24x7 Support, Training and Services

In response to


pgadmin-hackers by date

Next:From: pgAdmin TracDate: 2011-03-13 00:38:31
Subject: Re: [pgAdmin III] #301: Support for Basic Recovery Control functions for use in Hot Standby
Previous:From: Guillaume LelargeDate: 2011-03-12 19:13:03
Subject: Re: [pgadmin-hackers] Re: [pgadmin-hackers] error: expected initializer before ‘!’ token

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