all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Dan Nicolaescu <dann@ics.uci.edu>, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r100503: Fix config.h includes.
Date: Thu, 03 Jun 2010 01:55:41 +0900	[thread overview]
Message-ID: <87r5kp9xwy.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <jwviq61qwz8.fsf-monnier+emacs@gnu.org>

Stefan Monnier writes:
 > >> >   * src/dbusbind.c: Use #include <config.h> instead of "config.h" as all
 > >> >   other files do.
 > >> I understand teh desire to make it uniform, but why choose to
 > >> standardize on <config.h> rather than "config.h"?
 > > VPATH.
 > 
 > I don't see how that relates.  VPATH seems to be a make-only feature,
 > whereas we're talking about C code.

Specifically, people who build both in-tree and out-of-tree.

If you do that, VPATH/--srcdir can break because you have multiple
config.h on the #include search path, and the one in-tree always wins
if you use #include "config.h".



  reply	other threads:[~2010-06-02 16:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1OJgKM-0003iH-Qh@internal.in.savannah.gnu.org>
2010-06-02 13:54 ` [Emacs-diffs] /srv/bzr/emacs/trunk r100503: Fix config.h includes Stefan Monnier
2010-06-02 14:07   ` Stephen J. Turnbull
2010-06-02 15:25     ` Stefan Monnier
2010-06-02 16:55       ` Stephen J. Turnbull [this message]
2010-06-02 19:08         ` Jan Djärv
2010-06-03  0:34           ` Stephen J. Turnbull
2010-06-03  9:51         ` Miles Bader
2010-06-03 13:08           ` Stephen J. Turnbull
2010-06-02 16:10   ` Dan Nicolaescu
2010-06-03 15:19     ` Richard Stallman

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=87r5kp9xwy.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.