ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Valery V. Inozemtsev" <shrek@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] rss_glx-0.8.1-alt2: i586 rebuild failed [1]
Date: Sun, 9 Nov 2008 18:57:39 +0300
Message-ID: <200811091857.43981.shrek@altlinux.ru> (raw)
In-Reply-To: <20081109154549.GV27961@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 2324 bytes --]

On Sunday 09 November 2008 18:45:49 Alexey I. Froloff wrote:
> * Alexey I. Froloff <raorn@> [081109 18:42]:
> > In file included from /usr/include/AL/alut.h:12,
> >                  from skyrocket_sound.cpp:26:
> > /usr/include/AL/alc.h:190: error: '<anonymous>' has incomplete type
> > /usr/include/AL/alc.h:190: error: invalid use of 'ALCvoid'
> > /usr/include/AL/alc.h:251: error: '<anonymous>' has incomplete type
> > /usr/include/AL/alc.h:251: error: invalid use of 'ALCvoid'
>
> $ grep -rn ALCvoid /usr/include/AL/alc.h
> 85:typedef void ALCvoid;
> 190:ALC_API ALCcontext *    ALC_APIENTRY alcGetCurrentContext( ALCvoid );
> 241:ALC_API void            ALC_APIENTRY alcCaptureSamples( ALCdevice
> *device, ALCvoid *buffer, ALCsizei samples ); 251:typedef ALCcontext *  
> (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( ALCvoid ); 265:typedef void        
>   (ALC_APIENTRY *LPALCCAPTURESAMPLES)( ALCdevice *device, ALCvoid *buffer,
> ALCsizei samples );
>
> Может надо что-то повесить на OpenAL?

--- portable.orign/common/include/AL/alc.h	2006-01-31 11:49:20.000000000 +0100
+++ portable/common/include/AL/alc.h	2008-01-04 15:02:31.000000000 +0100
@@ -187,7 +187,7 @@ ALC_API void            ALC_APIENTRY alc
 
 ALC_API void            ALC_APIENTRY alcDestroyContext( ALCcontext *context );
 
-ALC_API ALCcontext *    ALC_APIENTRY alcGetCurrentContext( ALCvoid );
+ALC_API ALCcontext *    ALC_APIENTRY alcGetCurrentContext( void );
 
 ALC_API ALCdevice*      ALC_APIENTRY alcGetContextsDevice( ALCcontext *context );
 
@@ -248,7 +248,7 @@ typedef ALCboolean     (ALC_APIENTRY *LP
 typedef void           (ALC_APIENTRY *LPALCPROCESSCONTEXT)( ALCcontext *context );
 typedef void           (ALC_APIENTRY *LPALCSUSPENDCONTEXT)( ALCcontext *context );
 typedef void           (ALC_APIENTRY *LPALCDESTROYCONTEXT)( ALCcontext *context );
-typedef ALCcontext *   (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( ALCvoid );
+typedef ALCcontext *   (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( void );
 typedef ALCdevice *    (ALC_APIENTRY *LPALCGETCONTEXTSDEVICE)( ALCcontext *context );
 typedef ALCdevice *    (ALC_APIENTRY *LPALCOPENDEVICE)( const ALCchar *devicename );
 typedef ALCboolean     (ALC_APIENTRY *LPALCCLOSEDEVICE)( ALCdevice *device );

-- 
Valery V. Inozemtsev

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-11-09 15:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-09 15:40 ` Alexey I. Froloff
2008-11-09 15:45   ` Alexey I. Froloff
2008-11-09 15:57     ` Valery V. Inozemtsev [this message]
2008-11-09 16:44       ` Alexey I. Froloff
2008-11-09 16:56         ` Valery V. Inozemtsev

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=200811091857.43981.shrek@altlinux.ru \
    --to=shrek@altlinux.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