* [devel] Re: jabber-jit-1.1.6-alt1: rebuild failed
@ 2003-12-31 0:26 ` Mikhail Zabaluev
2003-12-31 8:00 ` Alexey Voinov
0 siblings, 1 reply; 4+ messages in thread
From: Mikhail Zabaluev @ 2003-12-31 0:26 UTC (permalink / raw)
To: devel
[-- Attachment #1.1: Type: text/plain, Size: 1000 bytes --]
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
[-- Attachment #1.2: gcc3.3-wtf.cpp --]
[-- Type: text/plain, Size: 136 bytes --]
typedef struct terror_struct
{
int code;
char msg[64];
} terror;
int main()
{
terror e = (terror){0,""};
return 0;
}
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] Re: jabber-jit-1.1.6-alt1: rebuild failed
2003-12-31 0:26 ` [devel] Re: jabber-jit-1.1.6-alt1: rebuild failed Mikhail Zabaluev
@ 2003-12-31 8:00 ` Alexey Voinov
2003-12-31 8:58 ` Mikhail Zabaluev
2003-12-31 8:59 ` Mikhail Zabaluev
0 siblings, 2 replies; 4+ messages in thread
From: Alexey Voinov @ 2003-12-31 8:00 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 961 bytes --]
Mikhail Zabaluev 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,""};
Это не C++.
В предыдущих версиях gcc в этом можно убедиться используя -pedantic.
Если я ошибся, большая просьба указать параграф стандарта, в котором
описана подобная конструкция.
--
Best Regards! | "Sometimes you're the windshield
Alexey Voinov | Sometimes you're the bug..."
|
voins@voins.program.ru
voins@altlinux.ru
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [devel] Re: jabber-jit-1.1.6-alt1: rebuild failed
2003-12-31 8:00 ` Alexey Voinov
@ 2003-12-31 8:58 ` Mikhail Zabaluev
2003-12-31 8:59 ` Mikhail Zabaluev
1 sibling, 0 replies; 4+ messages in thread
From: Mikhail Zabaluev @ 2003-12-31 8:58 UTC (permalink / raw)
To: ALT Devel discussion list; +Cc: Alexey Voinov
[-- Attachment #1: Type: text/plain, Size: 558 bytes --]
Hello Alexey,
On Wed, Dec 31, 2003 at 11:00:35AM +0300, Alexey Voinov wrote:
>
> > terror e = (terror){0,""};
> Это не C++.
> В предыдущих версиях gcc в этом можно убедиться используя -pedantic.
> Если я ошибся, большая просьба указать параграф стандарта, в котором
> описана подобная конструкция.
Согласен, параграф искать не буду, буду править код.
--
Stay tuned,
MhZ JID: mhz@altlinux.org
___________
In matters of principle, stand like a rock;
in matters of taste, swim with the current.
-- Thomas Jefferson
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [devel] Re: jabber-jit-1.1.6-alt1: rebuild failed
2003-12-31 8:00 ` Alexey Voinov
2003-12-31 8:58 ` Mikhail Zabaluev
@ 2003-12-31 8:59 ` Mikhail Zabaluev
1 sibling, 0 replies; 4+ messages in thread
From: Mikhail Zabaluev @ 2003-12-31 8:59 UTC (permalink / raw)
To: ALT Devel discussion list; +Cc: Alexey Voinov
[-- Attachment #1: Type: text/plain, Size: 613 bytes --]
Hello Alexey,
On Wed, Dec 31, 2003 at 11:00:35AM +0300, Alexey Voinov wrote:
>
> > terror e = (terror){0,""};
> Это не C++.
> В предыдущих версиях gcc в этом можно убедиться используя -pedantic.
> Если я ошибся, большая просьба указать параграф стандарта, в котором
> описана подобная конструкция.
Согласен, параграф искать не буду, буду править код.
Но сообщение об ошибке могло бы быть менее загадочным.
--
Stay tuned,
MhZ JID: mhz@altlinux.org
___________
In matters of principle, stand like a rock;
in matters of taste, swim with the current.
-- Thomas Jefferson
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-12-31 8:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-31 0:26 ` [devel] Re: jabber-jit-1.1.6-alt1: rebuild failed Mikhail Zabaluev
2003-12-31 8:00 ` Alexey Voinov
2003-12-31 8:58 ` Mikhail Zabaluev
2003-12-31 8:59 ` Mikhail Zabaluev
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git