public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nikos Chantziaras <realnc@arcor.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: alsa in-kernel vs. alsa-lib
Date: Fri, 31 Oct 2008 16:32:56 +0200	[thread overview]
Message-ID: <gef4up$68t$1@ger.gmane.org> (raw)
In-Reply-To: <490B1171.50802@netspace.net.au>

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.




  reply	other threads:[~2008-10-31 14:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30 22:42 [gentoo-user] alsa in-kernel vs. alsa-lib Pupino
2008-10-30 23:04 ` Andrey Vul
2008-10-30 23:46   ` Markos Chandras
2008-10-30 23:52     ` Joshua Murphy
2008-10-31 10:30       ` [gentoo-user] " Nikos Chantziaras
2008-10-31 11:05         ` Pupino
2008-10-31 12:17           ` Patrick Holthaus
2008-10-31 12:46           ` Neil Bothwick
2008-10-31 15:43             ` Pupino
2008-10-31 14:08         ` Iain Buchanan
2008-10-31 14:32           ` Nikos Chantziaras [this message]
2008-10-31  2:53     ` [gentoo-user] " Iain Buchanan
2008-10-31  8:41       ` Markos Chandras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gef4up$68t$1@ger.gmane.org' \
    --to=realnc@arcor.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox