http://bugs.winehq.org/show_bug.cgi?id=15610
Summary: When compiling with CFLAGS="-Werror", sys/asoundlib.h is unusable Product: Wine Version: 1.1.6 Platform: PC OS/Version: Linux Status: NEW Keywords: source Severity: minor Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
CFLAGS="-Werror" CC="ccache gcc" ./configure --verbose
checking sys/asoundlib.h usability... no checking sys/asoundlib.h presence... yes configure: WARNING: sys/asoundlib.h: present but cannot be compiled configure: WARNING: sys/asoundlib.h: check for missing prerequisite headers? configure: WARNING: sys/asoundlib.h: see the Autoconf documentation configure: WARNING: sys/asoundlib.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/asoundlib.h: proceeding with the preprocessor's result configure: WARNING: sys/asoundlib.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to wine-devel@winehq.org ## configure: WARNING: ## ------------------------------------ ##
Works fine without -Werror though.
http://bugs.winehq.org/show_bug.cgi?id=15610
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2008-10-14 10:01:00 --- Please attach a config.log from that.
http://bugs.winehq.org/show_bug.cgi?id=15610
--- Comment #2 from Austin English austinenglish@gmail.com 2008-10-14 11:59:30 --- Created an attachment (id=16640) --> (http://bugs.winehq.org/attachment.cgi?id=16640) config.log
http://bugs.winehq.org/show_bug.cgi?id=15610
Andrey Turkin andrey.turkin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.turkin@gmail.com
--- Comment #3 from Andrey Turkin andrey.turkin@gmail.com 2008-10-14 14:45:18 --- sys/asoundlib.h is obsoleted for some time, applications should use alsa/asoundlib.h instead; former header issue #warning about this which kills this one. Wine uses alsa/asoundlib.h when possible and falls back to sys/ variant if alsa/asoundlib.h does not exist. Removing sys/asoundlib.h is not an option I guess, given desired compatibility level. I can see two ways: 1) just ignore this warning. If sys/asoundlib.h warns about deprecation then alsa/asoundlib.h should exist and it will be used 2) remove -Werror from CFLAGS during configure
http://bugs.winehq.org/show_bug.cgi?id=15610
--- Comment #4 from Austin English austinenglish@gmail.com 2008-10-14 17:03:53 --- (In reply to comment #3)
sys/asoundlib.h is obsoleted for some time, applications should use alsa/asoundlib.h instead; former header issue #warning about this which kills this one. Wine uses alsa/asoundlib.h when possible and falls back to sys/ variant if alsa/asoundlib.h does not exist. Removing sys/asoundlib.h is not an option I guess, given desired compatibility level. I can see two ways:
- just ignore this warning. If sys/asoundlib.h warns about deprecation then
alsa/asoundlib.h should exist and it will be used 2) remove -Werror from CFLAGS during configure
That was the same conclusion I came to. It doesn't seem to cause any problems, and can be safely ignored. I'm not sure if sys/asoundlib.h is still used anywhere, and thus could be safely removed...
http://bugs.winehq.org/show_bug.cgi?id=15610
--- Comment #5 from Austin English austinenglish@gmail.com 2008-10-14 19:55:04 --- Seems it has been deprecated for a while: http://www.winehq.org/pipermail/wine-devel/2002-August/007814.html
http://bugs.winehq.org/show_bug.cgi?id=15610
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #6 from André H. nerv@dawncrow.de 2009-09-20 06:44:29 --- Still present in wine 1.1.29
http://bugs.winehq.org/show_bug.cgi?id=15610
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dank@kegel.com Resolution| |INVALID
--- Comment #7 from Dan Kegel dank@kegel.com 2011-09-13 14:18:23 CDT --- I'm pretty sure this is not a bug.
http://bugs.winehq.org/show_bug.cgi?id=15610
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Austin English austinenglish@gmail.com 2011-09-22 13:31:29 CDT --- Closing.