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

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: [pgadmin-hackers] Re: [pgadmin-hackers] error: expected initializer before ‘!’ token
Дата
Msg-id 4D7BC5BF.30606@lelarge.info
обсуждение исходный текст
Ответ на Re: [pgadmin-hackers] error: expected initializer before ‘!’ token  (Dave Page <dpage@pgadmin.org>)
Ответы Re: [pgadmin-hackers] Re: [pgadmin-hackers] error: expected initializer before ‘!’ token  (Peter Geoghegan <peter@2ndquadrant.com>)
Список pgadmin-hackers
Le 12/03/2011 07:07, Dave Page a écrit :
> On Sat, Mar 12, 2011 at 6:34 AM, Peter Geoghegan <peter@2ndquadrant.com> wrote:
>> Hi,
>>
>> I attempted to build master this evening, but came up against this error:
>>
>> make[3]: Entering directory `/home/peter/pgadmin3/pgadmin'
>> g++ -DHAVE_CONFIG_H -I. -I..
>> -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\"
>> -I../pgadmin/include   -I/usr/local/pgsql/include
>> -I/usr/local/pgsql/include -DHAVE_CONNINFO_PARSE
>> -I/usr/local/lib/wx/include/gtk2-unicode-debug-2.8
>> -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>> -D__WXDEBUG__ -D__WXGTK__ -I/usr/include/libxml2
>> -I/usr/include/libxml2  -g -O0 -MT explainShape.o -MD -MP -MF
>> .deps/explainShape.Tpo -c -o explainShape.o `test -f
>> './ctl/explainShape.cpp' || echo './'`./ctl/explainShape.cpp
>> In file included from ./ctl/explainShape.cpp:32:0:
>> ../pgadmin/include/images/ex_hash_setop_except.pngc:194:33: warning:
>> missing whitespace after the macro name
>> ../pgadmin/include/images/ex_hash_setop_except.pngc:203:33: warning:
>> missing whitespace after the macro name
>> ../pgadmin/include/images/ex_hash_setop_except.pngc:203:0: warning:
>> "ex_hash_setop_except_png" redefined
>> ../pgadmin/include/images/ex_hash_setop_except.pngc:194:0: note: this
>> is the location of the previous definition
>> ../pgadmin/include/images/ex_hash_setop_except.pngc:215:33: warning:
>> missing whitespace after the macro name
>> ../pgadmin/include/images/ex_hash_setop_except.pngc:215:0: warning:
>> "ex_hash_setop_except_png" redefined
>> ../pgadmin/include/images/ex_hash_setop_except.pngc:203:0: note: this
>> is the location of the previous definition
>> ../pgadmin/include/images/ex_hash_setop_except.pngc:4:52: error:
>> expected initializer before ‘!’ token
>> ../pgadmin/include/images/ex_hash_setop_except.pngc:182:41: error:
>> expected initializer before ‘!’ token
>>
>> No doubt this has something to do with the XPM/PNG thing. Are you aware of this?
>
> Nope - works fine here. Can you see the problem? I don't see anything
> unusual in pgadmin/include/images/ex_hash_setop_except.pngc here.
>

Maybe a stupid question but what is the ! in the variable name
(ex_hash_setop_except_png!_data)?

Anyway, I have the same issue:

In file included from ./ctl/explainShape.cpp:32:
../pgadmin/include/images/ex_hash_setop_except.pngc:194: warning:
missing whitespace after the macro name
../pgadmin/include/images/ex_hash_setop_except.pngc:203: warning:
missing whitespace after the macro name
../pgadmin/include/images/ex_hash_setop_except.pngc:203: warning:
"ex_hash_setop_except_png" redefined
../pgadmin/include/images/ex_hash_setop_except.pngc:194: note: this is
the location of the previous definition
../pgadmin/include/images/ex_hash_setop_except.pngc:215: warning:
missing whitespace after the macro name
../pgadmin/include/images/ex_hash_setop_except.pngc:215: warning:
"ex_hash_setop_except_png" redefined
../pgadmin/include/images/ex_hash_setop_except.pngc:203: note: this is
the location of the previous definition
[...]
g++ -DHAVE_CONFIG_H -I. -I..
-DDATA_DIR=\"/opt/pgadmin-trunk/share/pgadmin3/\" -I../pgadmin/include
 -I/opt/postgresql-head/include -I/opt/postgresql-head/include -DSSL
-DHAVE_CONNINFO_PARSE
-I/opt/wxgtk-2.8/lib/wx/include/gtk2-unicode-debug-2.8
-I/opt/wxgtk-2.8/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D__WXDEBUG__ -D__WXGTK__ -I/usr/include/libxml2 -I/usr/include/libxml2
 -g -O0 -MT xh_ctlcolourpicker.o -MD -MP -MF
.deps/xh_ctlcolourpicker.Tpo -c -o xh_ctlcolourpicker.o `test -f
'./ctl/xh_ctlcolourpicker.cpp' || echo './'`./ctl/xh_ctlcolourpicker.cpp
../pgadmin/include/images/ex_hash_setop_except.pngc:4: error: expected
initializer before ‘!’ token
../pgadmin/include/images/ex_hash_setop_except.pngc:182: error: expected
initializer before ‘!’ token
make[3]: *** [explainShape.o] Error 1

gcc --version
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: "pgAdmin Trac"
Дата:
Сообщение: [pgAdmin III] #312: Feature request: ability to set hostaddr
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: [pgadmin-hackers] Re: [pgadmin-hackers] error: expected initializer before ‘!’ token