From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 31 Dec 2003 03:26:02 +0300 From: Mikhail Zabaluev To: devel@altlinux.org Message-ID: <20031231002602.GB13508@mhz.mikhail.zabaluev.name> References: <20031230164802.E30CF568@basalt.office.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8X7/QrJGcKSMr1RN" Content-Disposition: inline In-Reply-To: <20031230164802.E30CF568@basalt.office.altlinux.org> User-Agent: Mutt/1.4.1i Cc: Subject: [devel] Re: jabber-jit-1.1.6-alt1: rebuild failed X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.3 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 00:26:03 -0000 Archived-At: List-Archive: List-Post: --8X7/QrJGcKSMr1RN Content-Type: multipart/mixed; boundary="kXdP64Ggrk/fb43R" Content-Disposition: inline Content-Transfer-Encoding: 8bit --kXdP64Ggrk/fb43R Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 --kXdP64Ggrk/fb43R Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gcc3.3-wtf.cpp" typedef struct terror_struct { int code; char msg[64]; } terror; int main() { terror e = (terror){0,""}; return 0; } --kXdP64Ggrk/fb43R-- --8X7/QrJGcKSMr1RN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/8heaTKqCuNPJlLgRAiJZAKC/8/HIdFaYpeN7f50VuBWe7Gux+ACgx00y APmxNRB5XvmPxapCYKGkSpQ= =+DiY -----END PGP SIGNATURE----- --8X7/QrJGcKSMr1RN--