ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] union in C99
@ 2008-09-23 16:22 Led
  2008-09-23 16:26 ` Damir Shayhutdinov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Led @ 2008-09-23 16:22 UTC (permalink / raw)
  To: ALT Linux Team development discussions

потребовалось сделать что-то типа такого:
-    int         i_bframe_adaptive;
+    union {
+        int         i_bframe_adaptive;
+        int         b_bframe_adaptive __attribute__((__deprecated__));
+    };

это поля structx 264_param_t . Но при -std=c99 получаем:
libx264.c:165: error: 'x264_param_t' has no member named 'i_bframe_adaptive'

Как это сейчас правильно реализуется?

-- 
Led

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-23 18:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-23 16:22 [devel] union in C99 Led
2008-09-23 16:26 ` Damir Shayhutdinov
2008-09-23 16:37   ` Led
2008-09-23 18:19   ` Led
2008-09-23 18:22 ` Kirill A. Shutemov
2008-09-23 18:32   ` Led

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