Jason Merrill <ja...@redhat.com> writes: > Now that -fabi-version defaults to 0, -Wabi isn't very useful. But for > people interested in compatibility with earlier versions, this patch allows > you to say -Wabi=2 to get any relevant warnings. This patch also adjusts > the compatibility aliases to default to backward compatibility with > -fabi-version=2.
This patch 2014-06-12 Jason Merrill <ja...@redhat.com> * toplev.c (process_options): Reject -fabi-version=1. which was committed as part of the above, but not posted AFAICS, introduced a testsuite failure on i386-pc-solaris2.1? and x86_64-unknown-linux-gnu with -m32: FAIL: g++.dg/abi/layout4.C -std=gnu++98 (test for excess errors) WARNING: g++.dg/abi/layout4.C -std=gnu++98 compilation failed to produce executable FAIL: g++.dg/abi/layout4.C -std=gnu++11 (test for excess errors) WARNING: g++.dg/abi/layout4.C -std=gnu++11 compilation failed to produce executable FAIL: g++.dg/abi/layout4.C -std=gnu++1y (test for excess errors) WARNING: g++.dg/abi/layout4.C -std=gnu++1y compilation failed to produce executable Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/abi/layout4.C:1:0: error: '-fabi-version=1' is no longer supported Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University