Dear devs,
the latest changes in SVN (trunk, starting with r1969) cause a fatal compilation error witn MinGW/GCC4 under Windows:
\Devel\GCC4TDM\include -c OpenAL\OpenAL-Soft\Alc\ALu.c -o .objs\Alc\ALu.o
In file included from OpenAL\OpenAL-Soft\Alc\ALc.c:29:
Include/alSource.h:26: error: 'POINT' redeclared as different kind of symbol
c:\devel\gcc4tdm\bin\../lib/gcc/mingw32/4.4.1/../../../../include/windef.h:324: note: previous declaration of 'POINT' was here
Process terminated with status 1 (0 minutes, 12 seconds)
1 errors, 439 warnings
The reason is the new enumeration introduced in alSource.h:
typedef enum {
POINT = 0,
LINEAR,
COSINE,
RESAMPLER_MAX,
RESAMPLER_MIN = -1,
RESAMPLER_DEFAULT = LINEAR
} resampler_t;
extern resampler_t DefaultResampler;
It conflicts with the typedef in windef.h (part of the GCC headers, WinAPI 3.14 of MinGW.org):
typedef struct tagPOINT {
LONG x;
LONG y;
} POINT,POINTL,*PPOINT,*LPPOINT,*PPOINTL,*LPPOINTL;
Probably you want to take care... otherwise OpenAL is not GCC/MinGW compatible anymore.
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.