https://bugzilla.novell.com/show_bug.cgi?id=732687 https://bugzilla.novell.com/show_bug.cgi?id=732687#c0 Summary: gcc 4.5 does not respect ADL inhibition in parentheses Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: i686 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: pth@suse.com ReportedBy: giecrilj@stegny.2a.pl QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Lynx/2.8.7rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/1.0.0c ADL inhibition is syntax for disabling argument-dependent lookup for function calls by putting the function name in parentheses. g++ does not implement this feature. Reproducible: Always Steps to Reproduce: 1. { cd /tmp && cat << '/*EOF*/' >ADL.cpp && c++ ADL.cpp; } namespace X { class B {}; int f (B); } void f (X::B); void trigger () { int x (((f) (X::B()))); } /*EOF*/ Actual Results: 1. f is ambiguous Expected Results: 1. improper use of void -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.