[Bug 817077] New: Alsa 1.0.27 can not be included in code to be built with -c90
https://bugzilla.novell.com/show_bug.cgi?id=817077 https://bugzilla.novell.com/show_bug.cgi?id=817077#c0 Summary: Alsa 1.0.27 can not be included in code to be built with -c90 Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@suse.com ReportedBy: dimstar@opensuse.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Alsa 1.0.27 can no longer be used in code built with -std=c90. (Identified due to the fallout of libkcompactdisc4). The very simple 'dummy' code: ###
cat test.c #include
int main() { return 0; } ### shows the issue already: gcc test.c -std=c99 => This succeeds gcc test.c -std=c90 fails with In file included from /usr/include/alsa/asoundlib.h:50:0, from test.c:1: /usr/include/alsa/pcm.h:442:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /usr/include/alsa/asoundlib.h:54:0, from test.c:1: /usr/include/alsa/control.h:237:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /usr/include/alsa/asoundlib.h:54:0, from test.c:1: /usr/include/alsa/control.h:535:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' ==> (The issue being 'static inline int'; In Factory, to 'my' knowledge, that only broke some KDE libs.. could affect more things. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817077
https://bugzilla.novell.com/show_bug.cgi?id=817077#c1
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=817077
https://bugzilla.novell.com/show_bug.cgi?id=817077#c2
--- Comment #2 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com