To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100197
                 Issue #|100197
                 Summary|DEV300_m43 (.Net2003): strhelper
               Component|porting
                 Version|DEV300m42
                Platform|All
                     URL|
              OS/Version|Windows 2003
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|sb
             Reported by|pjanik





------- Additional comments from [email protected] Sat Mar 14 06:35:00 
+0000 2009 -------
Hi, compiling with older compiler:

strhelper.cxx
../../inc\vcl\strhelper.hxx(80) : error C2039: 'strncpy' : is not a member of 
'_STL'
dmake:  Error code 2, while making '../../wntmsci10.pro/slo/strhelper.obj'

ERROR: Error 65280 occurred while making 
/cygdrive/f/home/pavel/BuildDir/ooo_DEV300_m43_src/vcl/source/helper

pa...@drogo:~/BuildDir/ooo_DEV300_m43_src/vcl> grep strncpy 
inc/vcl/strhelper.hxx 
    std::strncpy( pBuffer, aStr.getStr(), nLen+1 ); // copy string including 
terminating zero
pa...@drogo:~/BuildDir/ooo_DEV300_m43_src/vcl> 

Without std::, it compiles OK.

What is the correct solution here?

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