Hello Mark,
It seems that this commit produce the following error in my
environment (Windows):
[java] [exec] ..\shared\hyport.c(620) : error C2220: warning
treated as error - no object file generated
[java] [exec] ..\shared\hyport.c(620) : warning C4090:
'function' : different 'const' qualifiers
for the line:
portLib->mem_free_memory (portLib, pathSet);
I believe the easiest way to fix this is to revert the patch.
Thanks!
On 10/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Author: hindessm
> Date: Tue Oct 16 07:39:44 2007
> New Revision: 585156
>
> URL: http://svn.apache.org/viewvc?rev=585156&view=rev
> Log:
> Fix compiler warning.
>
> Modified:
>
> harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.c
>
> Modified:
> harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.c
> URL:
> http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.c?rev=585156&r1=585155&r2=585156&view=diff
> ==============================================================================
> ---
> harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.c
> (original)
> +++
> harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.c
> Tue Oct 16 07:39:44 2007
> @@ -590,7 +590,8 @@
> {
> char *endPathPtr = NULL;
> char *launcherName = NULL;
> - char **pathSet = portLib->mem_allocate_memory (portLib, sizeof(char*)*2);
> + const char **pathSet =
> + portLib->mem_allocate_memory (portLib, sizeof(char*)*2);
> char *vmPath = NULL;
>
> hysysinfo_get_executable_name (portLib, NULL, &launcherName);
>
>
>
--
With best regards,
Alexei,
ESSD, Intel