From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: org-babel C math.h issue Date: Thu, 10 Mar 2016 10:20:52 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae2OZ-0004jF-FR for emacs-orgmode@gnu.org; Thu, 10 Mar 2016 10:21:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ae2OV-0001UV-1h for emacs-orgmode@gnu.org; Thu, 10 Mar 2016 10:20:59 -0500 Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:32859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae2OU-0001UR-UM for emacs-orgmode@gnu.org; Thu, 10 Mar 2016 10:20:54 -0500 Received: by mail-qk0-x236.google.com with SMTP id s5so35448010qkd.0 for ; Thu, 10 Mar 2016 07:20:54 -0800 (PST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Anssi Saari Cc: emacs-orgmode@gnu.org I get the right answer on a Mac with org-mode version 8.2.10 Anssi Saari writes: > Oz Ben-Ami writes: > >> A minimal working example, attached, includes the following snippet: >> >> #+BEGIN_SRC C :includes '( ) :flags -lm >> int i=9; >> printf("%d\n",(int)sqrt(i)); >> #+END_SRC > > I get the same problem, Ubuntu 14.04.3 LTS, GNU Emacs 24.3.1, Org-mode > version 8.2.10. So maybe it got fixed at some point since these versions > are about two years old? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu