[Bug 15610] New: When compiling with CFLAGS="-Werror", sys/asoundlib.h is unusable
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(a)winehq.org ReportedBy: austinenglish(a)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(a)winehq.org ## configure: WARNING: ## ------------------------------------ ## Works fine without -Werror though. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15610 --- Comment #1 from Juan Lang <juan_lang(a)yahoo.com> 2008-10-14 10:01:00 --- Please attach a config.log from that. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15610 --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2008-10-14 11:59:30 --- Created an attachment (id=16640) --> (http://bugs.winehq.org/attachment.cgi?id=16640) config.log -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15610 Andrey Turkin <andrey.turkin(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.turkin(a)gmail.com --- Comment #3 from Andrey Turkin <andrey.turkin(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15610 --- Comment #4 from Austin English <austinenglish(a)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: 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
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... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15610 --- Comment #5 from Austin English <austinenglish(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15610 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de --- Comment #6 from André H. <nerv(a)dawncrow.de> 2009-09-20 06:44:29 --- Still present in wine 1.1.29 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15610 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dank(a)kegel.com Resolution| |INVALID --- Comment #7 from Dan Kegel <dank(a)kegel.com> 2011-09-13 14:18:23 CDT --- I'm pretty sure this is not a bug. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15610 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #8 from Austin English <austinenglish(a)gmail.com> 2011-09-22 13:31:29 CDT --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org