ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@altlinux.org>
To: devel@altlinux.org
Subject: [devel] Re: jabber-jit-1.1.6-alt1: rebuild failed
Date: Wed, 31 Dec 2003 03:26:02 +0300
Message-ID: <20031231002602.GB13508@mhz.mikhail.zabaluev.name> (raw)
In-Reply-To: <20031230164802.E30CF568@basalt.office.altlinux.org>


[-- 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 --]

       reply	other threads:[~2003-12-31  0:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-31  0:26 ` Mikhail Zabaluev [this message]
2003-12-31  8:00   ` Alexey Voinov
2003-12-31  8:58     ` Mikhail Zabaluev
2003-12-31  8:59     ` Mikhail Zabaluev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031231002602.GB13508@mhz.mikhail.zabaluev.name \
    --to=mhz@altlinux.org \
    --cc=devel@altlinux.org \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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