From: Stefan Beller <sbeller@google.com>
To: "git@vger.kernel.org" <git@vger.kernel.org>, eungjun.yi@navercorp.com
Subject: Re: compiling master fails
Date: Thu, 26 Feb 2015 12:57:28 -0800 [thread overview]
Message-ID: <CAGZ79kZ-4-5zD4xZn7sLjvT3WJEueGFKT6Df7V1By77u5uosgA@mail.gmail.com> (raw)
In-Reply-To: <CAGZ79kZvVFTGASbsx6vZXvYJUwLjgqDeCGrN0Cz=3pjW58Qbyw@mail.gmail.com>
> On Thu, Feb 26, 2015 at 12:48 PM, Stefan Beller <sbeller@google.com> wrote:
>> On Post 2.3 cyle (batch #5) (v2.3.1-167-g7f4ba4b)
>>
>> CC http.o
>> http.c: In function 'get_preferred_languages':
>> http.c:1021:2: warning: implicit declaration of function 'setlocale'
>> [-Wimplicit-function-declaration]
>> retval = setlocale(LC_MESSAGES, NULL);
>> ^
>> http.c:1021:21: error: 'LC_MESSAGES' undeclared (first use in this function)
>> retval = setlocale(LC_MESSAGES, NULL);
>> ^
>> http.c:1021:21: note: each undeclared identifier is reported only once
>> for each function it appears in
>> make: *** [http.o] Error 1
On Thu, Feb 26, 2015 at 12:52 PM, Stefan Beller <sbeller@google.com> wrote:
> Removing config.mak makes it compile again.
> config.mak contained:
> CFLAGS += -Wall -g -rdynamic -O0
> # CFLAGS += -Wextra
> # CFLAGS += -Werror
> CFLAGS += -Wno-format-zero-length
> CFLAGS += -Wdeclaration-after-statement
> CFLAGS += -Wpointer-arith
> CFLAGS += -Wstrict-prototypes
> CFLAGS += -Wold-style-declaration
> # CFLAGS += -flto
> # CFLAGS += -fwhole-program
> CC = /usr/lib/gcc-snapshot/bin/gcc
>
> Mind that compiling did work with this exact version of
> config.mak, (I did not touch it for a few weeks now),
> so I suspect new changes in changes to break the
> compilation.
>
>
"git bisect run make" shows
f18604bbf2c391c689a41fca14cbaeff5e106255 is the first bad commit
commit f18604bbf2c391c689a41fca14cbaeff5e106255
Author: Yi EungJun <eungjun.yi@navercorp.com>
Date: Wed Jan 28 21:04:37 2015 +0900
Is there an easy way to fix it or is my config.mak bogus now?
next prev parent reply other threads:[~2015-02-26 20:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-26 20:48 compiling master fails Stefan Beller
2015-02-26 20:52 ` Stefan Beller
2015-02-26 20:57 ` Stefan Beller [this message]
2015-02-26 21:00 ` Jonathan Nieder
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=CAGZ79kZ-4-5zD4xZn7sLjvT3WJEueGFKT6Df7V1By77u5uosgA@mail.gmail.com \
--to=sbeller@google.com \
--cc=eungjun.yi@navercorp.com \
--cc=git@vger.kernel.org \
/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.
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 NNTP newsgroup(s).