From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Oz Ben-Ami <ozzieba@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-babel C math.h issue
Date: Thu, 10 Mar 2016 10:43:53 +0100 [thread overview]
Message-ID: <87h9gellba.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CABYMxKzMm2iRFGZ3AMKno6UjfyQz_CBTmc4e4yZKgShhcW0kqQ@mail.gmail.com> (Oz Ben-Ami's message of "Sun, 6 Mar 2016 17:44:26 -0500")
Hello,
Oz Ben-Ami <ozzieba@gmail.com> writes:
> A minimal working example, attached, includes the following snippet:
>
> #+BEGIN_SRC C :includes '(<math.h> <stdio.h>) :flags -lm
> int i=9;
> printf("%d\n",(int)sqrt(i));
> #+END_SRC
FWIW, I get
#+BEGIN_SRC C :includes '(<math.h> <stdio.h>) :flags -lm
int i=9;
printf("%d\n",(int)sqrt(i));
#+END_SRC
#+RESULTS:
: 3
without any error.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2016-03-10 9:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-06 22:44 org-babel C math.h issue Oz Ben-Ami
2016-03-10 9:43 ` Nicolas Goaziou [this message]
2016-03-10 14:06 ` Anssi Saari
2016-03-10 15:20 ` John Kitchin
2016-03-10 21:19 ` Nick Dokos
2016-03-11 6:44 ` Anssi Saari
2016-03-11 15:36 ` Nick Dokos
2016-03-11 18:52 ` Thierry Banel
2016-03-11 19:14 ` Oz Ben-Ami
2016-03-11 23:14 ` Thierry Banel
2016-03-20 14:03 ` [PATCH] " Thierry Banel
2016-03-25 23:42 ` Nicolas Goaziou
2016-03-26 17:08 ` Thierry Banel
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9gellba.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=ozzieba@gmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).