Re: [O] Bug: babel with c++ [8.2.10 (8.2.10-29-g89a0ac-elpa]

2015-01-16 Thread Nicolas Goaziou
Hello, seth andrews writes: > C++ (or c code for that matter) that needs to link to any libraries will > not compile with babel. In the function org-babel-C-execute, the file name > is given last, making it impossible to pass compiler flags that will effect > linking. A simple fix is to switch

Re: [O] Bug: babel with c++ [8.2.10 (8.2.10-29-g89a0ac-elpa]

2015-01-15 Thread seth andrews
Here's a simple example of the bug I just sent, if you try to run this with babel it fails. #+begin_src C++ :exports both :includes (list "\"boost/filesystem.hpp\"" "") :flags "-lboost_system" printf("testing\n"); #+end_src On 13 January 2015 at 17:16, seth andrews wrote: > C++ (or c code for