Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: alsa in-kernel vs. alsa-lib
Date: Fri, 31 Oct 2008 14:33:21
Message-Id: gef4up$68t$1@ger.gmane.org
In Reply to: Re: [gentoo-user] Re: alsa in-kernel vs. alsa-lib by Iain Buchanan
1 Iain Buchanan wrote:
2 > Nikos Chantziaras wrote:
3 >> void shameless_plug()
4 >> {
5 >> One of the reasons I love Gentoo is
6 >> because it allowed me to recompile all
7 >> apps without ALSA support and use OSS
8 >> (version 4) instead which for me worked
9 >> much, much better than ALSA.
10 >> }
11 >
12 > g++ plug.cpp -o plug
13 > plug.cpp: In function 'void shameless_plug()':
14 > plug.cpp:4: error: 'One' was not declared in this scope
15 > plug.cpp:4: error: expected `;' before 'of'
16 > make: *** [plug] Error 1
17 >
18 > how about some printf's (or cout's for you noobs)
19
20 As if printf's aren't for noobs. The Real Programmer puts the string
21 length in EDX, the string in ECX, puts 1 in ECX to signify stdout, 4 in
22 EAX to select the sys_write system call, and does an int 0x80.