Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2018 21:52:05 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Eitan Adler <lists@eitanadler.com>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r334120 - head/share/mk
Message-ID:  <CAPyFy2A7hkaNBYOZf_w5PjGPAwjLuYTamgxi9PWZ6ot=BJSoVg@mail.gmail.com>
In-Reply-To: <CAF6rxgk5U4=0-dxyUdinrnLYFn4k2LwdNxmLU0k%2BTr48m==F-w@mail.gmail.com>
References:  <201805232126.w4NLQXrc084775@repo.freebsd.org> <CAF6rxgk5U4=0-dxyUdinrnLYFn4k2LwdNxmLU0k%2BTr48m==F-w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 May 2018 at 21:28, Eitan Adler <lists@eitanadler.com> wrote:
> On 23 May 2018 at 14:26, Ed Maste <emaste@freebsd.org> wrote:
>> Author: emaste
>> Date: Wed May 23 21:26:33 2018
>> New Revision: 334120
>> URL: https://svnweb.freebsd.org/changeset/base/334120
>>
>> Log:
>>   Revert r334081 (-Wmain) as it broke the build on gcc architectures
>
> I tested this with "make universe". Can you give me an example build
> log that failed?

I saw it via https://ci.freebsd.org/tinderbox - an example log is here:
https://ci.freebsd.org/job/FreeBSD-head-mips-build/2330/console

cc1plus: warning: command line option "-Wmain" is valid for C/ObjC but
not for C++

> Would CFLAGS.clang += -Wmain be okay?

I suspect so.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2A7hkaNBYOZf_w5PjGPAwjLuYTamgxi9PWZ6ot=BJSoVg>