On 08/03/2010 01:18 PM, Elimar Riesebieter wrote:
> * John Lindgren [100803 09:22 -0400]:
>   
>> With -std=c99 and -D_BSD_SOURCE, there is a conflict between time.h and
>> alsa/global.h.
>>
>> #include <time.h>
>> #include <alsa/asoundlib.h>
>>
>> $ gcc -c -std=c99 -D_BSD_SOURCE -Wall test.c
>> In file included from /usr/include/alsa/asoundlib.h:44,
>>                  from test.c:2:
>> /usr/include/alsa/global.h:137: error: redefinition of ???struct timeval???
>> /usr/include/alsa/global.h:142: error: redefinition of ???struct timespec???
>>     
> So what do you expect Debian Alsa maintainers can do at this point?
>   
Are you telling me not to report bugs that are present in Debian, to
Debian, or are you honestly asking my opinion?  I suggest (1) patching
the conditional definition of those structures to include a check for
_BSD_SOURCE, (2) removing the definitions altogether, since they are not
necessary in Debian, or (3) forwarding the report to upstream ALSA
maintainers and asking them to deal with it.

-- John



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to