From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Kvv3x-00045r-Fn for garchives@archives.gentoo.org; Fri, 31 Oct 2008 14:33:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A07A0E05CA; Fri, 31 Oct 2008 14:33:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 79EBAE05CA for ; Fri, 31 Oct 2008 14:33:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D3F8964E85 for ; Fri, 31 Oct 2008 14:33:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.292 X-Spam-Level: X-Spam-Status: No, score=-3.292 required=5.5 tests=[AWL=0.307, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0lg74IqtpfuA for ; Fri, 31 Oct 2008 14:33:13 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 3F32964E6B for ; Fri, 31 Oct 2008 14:33:12 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kvv3h-0001x1-HP for gentoo-user@gentoo.org; Fri, 31 Oct 2008 14:33:05 +0000 Received: from athedsl-304976.home.otenet.gr ([85.73.238.238]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Oct 2008 14:33:04 +0000 Received: from realnc by athedsl-304976.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Oct 2008 14:33:04 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: alsa in-kernel vs. alsa-lib Date: Fri, 31 Oct 2008 16:32:56 +0200 Organization: Lucas Barks Message-ID: References: <200810310146.19875.markaki2002@yahoo.gr> <490B1171.50802@netspace.net.au> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-304976.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; x86_64; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0 In-Reply-To: <490B1171.50802@netspace.net.au> Sender: news X-Archives-Salt: 9b2e1264-05c3-406c-8910-ee93c8dbed2b X-Archives-Hash: d40475325ef6243f0edcbed6e10ce4e0 Iain Buchanan wrote: > Nikos Chantziaras wrote: >> void shameless_plug() >> { >> One of the reasons I love Gentoo is >> because it allowed me to recompile all >> apps without ALSA support and use OSS >> (version 4) instead which for me worked >> much, much better than ALSA. >> } > > g++ plug.cpp -o plug > plug.cpp: In function 'void shameless_plug()': > plug.cpp:4: error: 'One' was not declared in this scope > plug.cpp:4: error: expected `;' before 'of' > make: *** [plug] Error 1 > > how about some printf's (or cout's for you noobs) As if printf's aren't for noobs. The Real Programmer puts the string length in EDX, the string in ECX, puts 1 in ECX to signify stdout, 4 in EAX to select the sys_write system call, and does an int 0x80.