To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=88770
                 Issue #|88770
                 Summary|Interefere between STLport and Microsoft cstdio in cal
                        |ling remove() 
               Component|utilities
                 Version|DEV300_m10
                Platform|PC
                     URL|
              OS/Version|Windows, all
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|tono





------- Additional comments from [EMAIL PROTECTED] Sun Apr 27 04:41:27 +0000 
2008 -------
In a Microsoft header cstdio, the following "using declaration" exists in std 
namespace.

using ::remove;

Is is intended to make C library function for file remove available but 
prevents global remove() function in STLport even though the namespace of 
STLport is introduced in std namespace.

It is fixed for older versions of VC compilers by defining macro to make 
namespace names std and STL identical and OOo local patch is extending it to 
somewhat newer versions, but not for latest versions.

So if we include stdio we cannot use the global remove() in STLport unless 
modifying it explicitly with ::STL:: when using the latest versions of VC.

It does not occur in the current source tree if we do not use precompiled 
headers but does occur in the build precompiled headers enabled.

It seems that the macro workaround is also effective and does no harm with the 
latest versions of VC compilers. So I would like to propose a patch.

---------------------------------------------------------------------
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