[Pkg-alsa-devel] Bug#407641: libasound2-dev: Please make libasound header C99 compatible

Gregor Jasny gjasny at web.de
Sat Jan 20 10:26:38 UTC 2007


Package: libasound2-dev
Version: 1.0.13-1
Severity: wishlist


Hi,

If you compile the following source file:

#include <alsa/asoundlib.h>

with

gcc -Wall -std=c99 -c bug.c

you'll get the folloing error:

/usr/include/alsa/timer.h:108: error: field 'tstamp' has incomplete type

because "struct timespec" is not part of C99 (#314435).

Maybe upstream can replace struct timespec with sth. C99 compatible?

Cheers,
Gregor

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20-rc5
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages libasound2-dev depends on:
ii  libasound2                   1.0.13-1    ALSA library
ii  libc6-dev [libc-dev]         2.3.6.ds1-9 GNU C Library: Development Librari

libasound2-dev recommends no packages.

-- no debconf information




More information about the Pkg-alsa-devel mailing list