diff --git a/configure b/configure index 43a5e68efa5..f089ed60f59 100755 --- a/configure +++ b/configure @@ -5911,7 +5911,7 @@ else struct X { int i; }; struct Y { int i; }; int main() { -X x; Y*y = reinterpret_cast(&x); +X x; X*const z = &x;Y*y = reinterpret_cast(z); ; return 0; } EOF if { (eval echo configure:5918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then