From: Chong Yidong <cyd@stupidchicken.com>
To: Jim Meyering <jim@meyering.net>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: build from source fails on fedora-12 (with gcc 4.4.2)
Date: Fri, 23 Oct 2009 12:19:45 -0400 [thread overview]
Message-ID: <87skda84m6.fsf@stupidchicken.com> (raw)
In-Reply-To: <87y6n2xhja.fsf@meyering.net> (Jim Meyering's message of "Fri, 23 Oct 2009 17:21:29 +0200")
Jim Meyering <jim@meyering.net> writes:
> Chong Yidong wrote:
>
>> Jim Meyering <jim@meyering.net> writes:
>>
>>> Here's the patch:
>>>
>>> FYI, at first I thought it was a bug in gcc and reported it,
>>> but Jakub Jelinek explained that it is a feature, and
>>> suggested the work-around of using -P.
>>>
>>> * configure.in: Use $CPP's -P option when creating Makefile and
>>> src/Makefile. This is required with at least by gcc 4.4.2, which
>>> is part of fedora 12. Otherwise, each backslash-newline pair in
>>> the input would be mistakenly converted to a bare newline, yielding
>>> invalid Makefiles.
>>
>> Is this backward compatible with older gcc/cpp's?
>
> I verified that /usr/lib/cpp on Solaris 10 and FreeBSD 6.1 both support -P.
> I think it's been in every cpp since the beginning.
OK, I've checked in your patch. Thanks.
prev parent reply other threads:[~2009-10-23 16:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-23 6:51 build from source fails on fedora-12 (with gcc 4.4.2) Jim Meyering
2009-10-23 15:01 ` Chong Yidong
2009-10-23 15:21 ` Jim Meyering
2009-10-23 16:19 ` Chong Yidong [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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87skda84m6.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=jim@meyering.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).