To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=42988
Issue #:|42988
Summary:|DEBUG/npwrap.cxx: invalid conversion from `const
|char**' to `char* const*'
Component:|gsl
Version:|1.0.0
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|PATCH
Priority:|P4
Subcomponent:|code
Assigned to:|pl
Reported by:|pjanik
------- Additional comments from [EMAIL PROTECTED] Thu Feb 17 03:55:49 -0800
2005 -------
Hi,
while compiling DEBUG version, I get this:
/home/oo/BuildDir/ooo_SRC680_m79_src/extensions/source/plugin/unx/npwrap.cxx: In
function `int main(int, char**)':
/home/oo/BuildDir/ooo_SRC680_m79_src/extensions/source/plugin/unx/npwrap.cxx:354:
error: invalid conversion from `const char**' to `char* const*'
/home/oo/BuildDir/ooo_SRC680_m79_src/extensions/source/plugin/unx/npwrap.cxx:354:
error: initializing argument 2 of `int execvp(const char*, char* const*)'
dmake: Error code 1, while making '../../../unxlngi6.pro/obj/npwrap.obj'
Simply removing const from pArgs helped:
--- npwrap.cxx 15 ÅÃj 2004 18:26:40 +0200 1.9
+++ npwrap.cxx 17 Ãno 2005 12:47:38 +0100
@@ -349,7 +349,7 @@
if( nChild == 0 )
{
char pidbuf[16];
- const char* pArgs[] = { "xterm", "-sl", "2000", "-sb", "-e", "gdb",
"pluginapp.bin", pidbuf, NULL };
+ char* pArgs[] = { "xterm", "-sl", "2000", "-sb", "-e", "gdb",
"pluginapp.bin", pidbuf, NULL };
sprintf( pidbuf, "%d", nPID );
execvp( pArgs[0], pArgs );
_exit(255);
---------------------------------------------------------------------
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]