To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=93008





------- Additional comments from [EMAIL PROTECTED] Fri Aug 22 06:31:31 +0000 
2008 -------
Actually the compiler does not always have a choice to warn about a ambiguity.
Example
  int f( sal_Int16 n);
and code like
  sal_Int8 n1 = 3;
  f( n1 )
Here f( n1 ) will call f( sal_Int16 n) from global namespace.

If we now have a header file A.hxx like
  namespace A
  {
     int f( sal_Int8 n)
  }
and somehow, maybe just implicitly not even done in our code, the file A.hxx
gets included along with a 
  using namespace A;
somewhere else then
  f( n1 )
will no longer implictly conver the sal_Int8 to sal_Int16 and then call the
original function as before, because now A::f will have an exactly matching
parameter and thus now A::f gets called and likely even without the compiler
giving any notice about it at all...



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to