PATCH to run autoconf tests with C++ compiler

Jason Merrill jason@redhat.com
Wed May 27 16:20:00 GMT 2015


On 05/27/2015 08:54 AM, Richard Biener wrote:
> On Wed, May 27, 2015 at 10:49 AM, Andreas Schwab <schwab@suse.de> wrote:
>> This breaks all checks for supported compiler options:
>>
>> configure:6382: checking whether gcc supports -Wnarrowing
>> configure:6399: gcc -c -Wnarrowing  conftest.c >&5
>> cc1: error: unrecognized command line option "-Wnarrowing"
>> configure:6399: $? = 1
>>
>> configure:6485: checking whether gcc supports -Wnarrowing
>> configure:6502: g++ -std=c++98 -c -g   conftest.cpp >&5
>> configure:6502: $? = 0
>> configure:6511: result: yes
>
> And thus causes PR66304, bootstrap failure with host gcc 4.3 (at least).

Fixed thus:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 66304.patch
Type: text/x-patch
Size: 18878 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150527/7480916e/attachment.bin>


More information about the Gcc-patches mailing list