emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-babel C math.h issue


From: Nicolas Goaziou
Subject: Re: [O] org-babel C math.h issue
Date: Thu, 10 Mar 2016 10:43:53 +0100

Hello,

Oz Ben-Ami <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]