emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: seth andrews <sethdandrews@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: babel with c++ [8.2.10 (8.2.10-29-g89a0ac-elpa]
Date: Fri, 16 Jan 2015 22:21:57 +0100	[thread overview]
Message-ID: <87y4p2s9oq.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CA+OxK7225=_+bn4PfR22_LZMgWywjbttpoCvLnkZCWX1bwgUCw@mail.gmail.com> (seth andrews's message of "Tue, 13 Jan 2015 17:16:16 -0700")


seth andrews <sethdandrews@gmail.com> 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 the order of the last two arguments to
> format.

Thank you for the report.

Could you send a patch with a test for it in test-ob-C.el?


Nicolas Goaziou

      parent reply	other threads:[~2015-01-16 21:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14  0:16 Bug: babel with c++ [8.2.10 (8.2.10-29-g89a0ac-elpa] seth andrews
2015-01-14  0:36 ` seth andrews
2015-01-16 21:21 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4p2s9oq.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=sethdandrews@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).