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++?