[alsa-devel] salsa-lib-0.1.2 alsa/pcm_macros.h (on Linux, at least)

The salsa macros do not compile with -Wall -Werror.
The culprit is the use of "access", which is also a UNIX function. This function is defined unistd.h, which is included by stddef.h. And stddef.h is one of the files mangled into the belly of GCC.
So it is a royal mess, and nobody's fault in particular, but could we please have the header file updated, for example to use "Acc" rather than "access" for the parameter?
Thanks,

At Wed, 25 Jan 2012 16:27:52 +0100, John P. Hartmann wrote:
The salsa macros do not compile with -Wall -Werror.
The culprit is the use of "access", which is also a UNIX function. This function is defined unistd.h, which is included by stddef.h. And stddef.h is one of the files mangled into the belly of GCC.
So it is a royal mess, and nobody's fault in particular, but could we please have the header file updated, for example to use "Acc" rather than "access" for the parameter?
OK, I fixed now in git tree.
thanks,
Takashi
participants (2)
-
John P. Hartmann
-
Takashi Iwai