From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id A4F851EFD8B; Sat, 1 Oct 2016 20:15:41 -0400 (EDT) Received: from hurricane.the-brannons.com (hurricane.the-brannons.com [64.62.188.119]) by befuddled.reisers.ca (Postfix) with ESMTP id 950571EFD80 for ; Sat, 1 Oct 2016 20:15:40 -0400 (EDT) Received: from localhost (71-34-75-114.ptld.qwest.net [71.34.75.114]) by hurricane.the-brannons.com (Postfix) with ESMTPSA id 21D8477AA9 for ; Sat, 1 Oct 2016 17:15:33 -0700 (PDT) From: Chris Brannon To: "Speakup is a screen review system for Linux." Subject: Re: Error Compiling espeak References: <20161001.225914.248.9@[192.168.1.117]> Date: Sat, 01 Oct 2016 17:15:38 -0700 In-Reply-To: <20161001.225914.248.9@[192.168.1.117]> (Rob's message of "Sat\, 01 Oct 2016 17\:59\:14 -0500") Message-ID: <87twcv38t1.fsf@the-brannons.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2016 00:15:41 -0000 "Rob" writes: > I got the following error *text snipped, mentions narrowing conversions > make: *** [Makefile:102: tr_languages.o] Error 1 Quoting from https://gcc.gnu.org/gcc-6/porting_to.html: ---begin quote--- Narrowing conversions The C++11 standard does not allow "narrowing conversions" inside braced initialization lists, meaning conversions to a type with less precision or a smaller range, for example: int i = 127; char s[] = { i, 256 }; In the above example the value 127 would fit in char but because it's not a constant it is still a narrowing conversion. If the value 256 is larger than CHAR_MAX then that is also a narrowing conversion. Narrowing conversions can be avoided by using an explicit cast, e.g. (char)i. ---end quote--- So you could probably fix it by patching the source code and adding a cast. Another option is to add -Wno-error=narrowing to $CXXFLAGS at build-time. Hope this helps, -- Chris