9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "peter a. cejchan" <pac@cejchan.gli.cas.cz>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] what's wrong with this?
Date: Mon,  7 Oct 2002 13:53:13 +0000	[thread overview]
Message-ID: <71652467.0210070548.3a21bf5e@posting.google.com> (raw)
In-Reply-To: <79dc8d5b2d0f6aaa2d6b20dabe37be4b@plan9.bell-labs.com>

sape@plan9.bell-labs.com (Sape Mullender) wrote in message
[snip]
> For starters, it's abhorrently awful code.  You're also using macros recursively.
> Assert is a macro:
> 	#define	assert(x) if(x){}else _assert("x")
> Substitute it in your code and behold the mess you get.
>
> What are you trying to save with this macro anyway?
>
> 	Sape

eeeeeeeeeeeeeeeeeeeeeeeh! it isn't my code... just trying to ape-port
someone else's (jpeg-2000 standard codec (i depend on it with my
hi-quality compressed images)). could you, please, show me a correct
workaround (for the time being i just dropped assert()) ???

TIA, cheers,
++pac.


  reply	other threads:[~2002-10-07 13:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-27 14:09 Sape Mullender
2002-10-07 13:53 ` peter a. cejchan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-07 14:34 Russ Cox
2002-09-27 15:36 rog
2002-09-30  9:18 ` Douglas A. Gwyn
2002-09-27 14:28 Charles Forsyth
2002-09-30  9:17 ` Douglas A. Gwyn
2002-09-30  9:28 ` Ralph Corderoy
2002-09-27 14:12 Peter A. Cejchan
2002-09-27 14:05 Russ Cox

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=71652467.0210070548.3a21bf5e@posting.google.com \
    --to=pac@cejchan.gli.cas.cz \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).