From: "Gabriel Díaz" <gabidiaz@gmail.com>
To: "'Fans of the OS Plan 9 from Bell Labs'" <9fans@cse.psu.edu>
Subject: RE: [9fans] compiling error
Date: Wed, 14 Mar 2007 08:47:43 +0100 [thread overview]
Message-ID: <01ce01c7660d$0e50c1d0$2af24570$@com> (raw)
In-Reply-To: <4b60ff3c1f9078ce8becb8a4ba82c103@9netics.com>
Hello
That \n was inserted by this "intelligent" email client sorry.
The code compiles unless you uncomment the // print("%f",
fabs(a)*FMAX(b,1.0)/c);
Thanks
Gabi
-----Mensaje original-----
De: 9fans-bounces+gabidiaz=gmail.com@cse.psu.edu
[mailto:9fans-bounces+gabidiaz=gmail.com@cse.psu.edu] En nombre de Skip
Tavakkolian
Enviado el: miércoles, 14 de marzo de 2007 8:22
Para: 9fans@cse.psu.edu
Asunto: Re: [9fans] compiling error
> cpu% 8c -FVw t.c
> t.c:12 syntax error, last name: maxarg2
i get the error in a different place.
% 8c -FVw t.c
t.c:7 syntax error, last name: maxarg1
> #define FMAX(a,b)
> (maxarg1=(a),maxarg2=(b),(maxarg1)>(maxarg2)?(maxarg1):(maxarg2));
the problem is the macro. adding a \ to escape \n or putting
the macro def on the same line fixes it.
next prev parent reply other threads:[~2007-03-14 7:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-14 6:38 Gabriel Díaz
2007-03-14 7:21 ` Skip Tavakkolian
2007-03-14 7:47 ` Gabriel Díaz [this message]
2007-03-14 8:20 ` Skip Tavakkolian
2007-03-14 8:32 ` Gabriel Díaz
2007-03-14 9:44 ` matt
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='01ce01c7660d$0e50c1d0$2af24570$@com' \
--to=gabidiaz@gmail.com \
--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).