ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Q: dereferencing pointer to incomplete type
@ 2010-03-31  4:35 REAL
  2010-03-31  6:45 ` Andrey Rahmatullin
  2010-03-31  7:07 ` Kirill A. Shutemov
  0 siblings, 2 replies; 9+ messages in thread
From: REAL @ 2010-03-31  4:35 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Привет!

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

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 Евгений Ростовцев, программист ЦНИТ КемГУ


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

end of thread, other threads:[~2010-03-31  8:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-31  4:35 [devel] Q: dereferencing pointer to incomplete type REAL
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

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