[devel] Re: jabber-jit-1.1.6-alt1: rebuild failed
    Mikhail Zabaluev 
    =?iso-8859-1?q?mhz_=CE=C1_altlinux=2Eorg?=
       
    Ср Дек 31 03:26:02 MSK 2003
    
    
  
Hello QA,
On Tue, Dec 30, 2003 at 07:48:02PM +0300, QA Team Robot wrote:
>
> Package: jabber-jit-1.1.6-alt1
> g++ -pipe -Wall -O2 -march=i586 -mcpu=i686 -Wall -I. -I../jabberd -DWPJABBER -DNODEBUG -I/usr/include -fPIC   -c -o jit/wp_client.o jit/wp_client.cpp
> jit/wp_client.cpp: In member function `virtual void WPclient::SignalDisconnected(ICQ2000::DisconnectedEvent*)':
> jit/wp_client.cpp:149: error: `terror' has no non-static data member named `terror_struct::code'
> jit/wp_client.cpp:149: error: too many initializers for `terror'
Насколько я понимаю, это фокусы нового g++.
Место возникновения ошибки:
  terror e = (terror){0,""};
Определение структуры:
typedef struct terror_struct
{
    int  code;
    char msg[64];
} terror;
WTF? Testcase прилагается.
-- 
Stay tuned,
  MhZ                                     JID: mhz на altlinux.org
___________
There is more simplicity in the man who eats caviar on impulse than in the
man who eats Grape-Nuts on principle.
		-- G.K. Chesterton
----------- следующая часть -----------
typedef struct terror_struct
{
    int  code;
    char msg[64];
} terror;
int main()
{
    terror e = (terror){0,""};
    return 0;
}
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20031231/7cca8620/attachment-0001.bin>
    
    
Подробная информация о списке рассылки Devel