From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Date: Tue, 23 Sep 2008 21:22:47 +0300 From: "Kirill A. Shutemov" To: ALT Linux Team development discussions Message-ID: <20080923182245.GA11804@localhost.localdomain> References: <200809231922.42174.ledest@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline In-Reply-To: <200809231922.42174.ledest@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-29) Subject: Re: [devel] union in C99 X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2008 18:22:04 -0000 Archived-At: List-Archive: List-Post: --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 23, 2008 at 07:22:41PM +0300, Led wrote: > =D0=BF=D0=BE=D1=82=D1=80=D0=B5=D0=B1=D0=BE=D0=B2=D0=B0=D0=BB=D0=BE=D1=81= =D1=8C =D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D1=82=D1=8C =D1=87=D1=82=D0=BE-=D1=82= =D0=BE =D1=82=D0=B8=D0=BF=D0=B0 =D1=82=D0=B0=D0=BA=D0=BE=D0=B3=D0=BE: > - int i_bframe_adaptive; > + union { > + int i_bframe_adaptive; > + int b_bframe_adaptive __attribute__((__deprecated__)); > + }; >=20 > =D1=8D=D1=82=D0=BE =D0=BF=D0=BE=D0=BB=D1=8F structx 264_param_t . =D0=9D= =D0=BE =D0=BF=D1=80=D0=B8 -std=3Dc99 =D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B0= =D0=B5=D0=BC: > libx264.c:165: error: 'x264_param_t' has no member named 'i_bframe_adapti= ve' >=20 > =D0=9A=D0=B0=D0=BA =D1=8D=D1=82=D0=BE =D1=81=D0=B5=D0=B9=D1=87=D0=B0=D1= =81 =D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=D1=8C=D0=BD=D0=BE =D1=80=D0=B5=D0= =B0=D0=BB=D0=B8=D0=B7=D1=83=D0=B5=D1=82=D1=81=D1=8F? =D0=9A=D0=B0=D0=BA =D0=B2=D0=B0=D1=80=D0=B8=D0=B0=D0=BD=D1=82, =D0=BC=D0=BE= =D0=B6=D0=BD=D0=BE =D0=BF=D0=BE=D0=BF=D1=80=D0=BE=D0=B1=D0=BE=D0=B2=D0=B0= =D1=82=D1=8C =D1=87=D1=82=D0=BE-=D1=82=D0=BE =D1=82=D0=B8=D0=BF=D0=B0 =D1= =82=D0=B0=D0=BA=D0=BE=D0=B3=D0=BE: - int i_bframe_adaptive; +#define i_bframe_adaptive bframe_adaptive.i +#define i_bframe_adaptive bframe_adaptive.b + union { + int i; + int b __attribute__((__deprecated__)); + } bframe_adaptive; --=20 Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjZM/UACgkQbWYnhzC5v6r7QQCffpdpvXSSaV5bIPYxdHoY2b/r pOAAn35vGK7rg1pxbVuPKT6ambAyO9tS =Hyhq -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--