ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: REAL <root@mmedia2.kemsu.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] Q: dereferencing pointer to incomplete type
Date: Wed, 31 Mar 2010 12:35:45 +0800
Message-ID: <4BB2D121.4060304@mmedia2.kemsu.ru> (raw)

Привет!

Просьба подсказать, как лечить:

src/aomodule.c:187: error: dereferencing pointer to incomplete type

Жалоба идёт на строку:
info = ao_driver_info(ao_self->dev->driver_id);

Это новшество, ещё неделю назад никаких проблем не было.

Контекст:

static PyObject *
py_ao_driver_info(PyObject *self, PyObject *args)
{
   int driver_id = 0;
   char *driver_name;
   ao_info *info;
   PyObject *retdict;

   if (self != NULL) {

     /* It's a method */
     ao_Object *ao_self = (ao_Object *) self;
     info = ao_driver_info(ao_self->dev->driver_id);


Кстати, не смог найти объявление ao_device, кроме typedef struct 
ao_device ao_device;
(файл /usr/include/ao/ao.h)

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ


             reply	other threads:[~2010-03-31  4:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-31  4:35 REAL [this message]
2010-03-31  6:45 ` Andrey Rahmatullin
2010-03-31  5:57   ` REAL
2010-03-31  7:01     ` Andrey Rahmatullin
2010-03-31  6:03       ` REAL
2010-03-31  7:07 ` Kirill A. Shutemov
2010-03-31  6:10   ` REAL
2010-03-31  8:14     ` Kirill A. Shutemov
2010-03-31  7:48       ` REAL

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=4BB2D121.4060304@mmedia2.kemsu.ru \
    --to=root@mmedia2.kemsu.ru \
    --cc=devel@lists.altlinux.org \
    /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