[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#220953: linux/soundcard.h macros produce warnings



Package: linux-kernel-headers
Version: 2.5.999-test7-bk-9
Severity: normal

Hi,

with linux-kernel-headers, my audio packages including linux/soundcard.h
(/usr/include/linux/soundcard.h), produce warnings now just for the
inclusion of some macros:

=== test.c ===========================================================
#include <linux/soundcard.h>

int main (int argc, char* argv[]) {
  SNDCTL_DSP_SETFRAGMENT;
  return 0;
}
======================================================================

=== compile: =========================================================
ernie@atari:~/code/test$ gcc -W test.c
test.c: In function `main':
test.c:4: warning: signed and unsigned type in conditional expression
test.c:4: warning: statement with no effect
ernie@atari:~/code/test$
======================================================================

(I know that the statement is with no effect. ;)

Thanks for considering.

bye,
  Roland

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux atari 2.4.20 #1 Fri Apr 4 11:15:24 CEST 2003 i686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (ignored: LC_ALL set to en_GB.UTF-8)

-- no debconf information




Reply to: