emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: Cannot set header-args :includes with multiple includes [8.


From: Will Everett
Subject: Re: [O] Bug: Cannot set header-args :includes with multiple includes [8.2.7 (8.2.7-4-g880362-elpa <at> /home/will/.emacs.d/elpa/org-20140616/)]
Date: Tue, 2 Sep 2014 23:06:44 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Will Everett <will <at> spings.net> writes:
> I believe the :includes header argument is incorrectly parsing lists of
includes for c++. This snippet:
> 
> #+BEGIN_SRC C++ :includes <cstdio> <iostream>
> using namespace std;
> printf("Hello ");
> cout << "world";
> #+END_SRC
> 
> produces a compiler error:
> 
> warning: extra tokens at end of #include directive
>  #include <cstdio> <iostream>
> 
> Then, of course printf and cout are undeclared. It looks like the include
is just throwing all the includes onto one line when they should be broken
up and each put on their own line.


Sorry to be a pest, but did anyone see this? Does no one else try to use
org-babel for LP with C/C++?




reply via email to

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