I'm working on a new file for OpenJDK.  I get no compile errors in my
Visual Studio IDE environment but interestingly enough get a set of
problems all like this one in the OpenJDK environment:

Source:
const jchar* jcstr = env->GetStringCritical(name, NULL);
*pszName = ::SysAllocStringLen(jcstr, env->GetStringLength(name));

Compile error:
error C2664: 'SysAllocStringLen' : cannot convert parameter 1 from
'const jchar *' to 'const OLECHAR *'

I tried changing the warning levels in VS with no difference.

I could cast the problem away but I'd like to understand what's causing
the problem so my VS environment is equivalent to the OpenJDK build
environment.

Has anyone else encountered this before?

Thanks, Pete
-- 
*Pete Brunet*
                                                                
a11ysoft - Accessibility Architecture and Development
(512) 238-6967 (work), (512) 689-4155 (cell)
Skype: pete.brunet
IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN)
http://www.a11ysoft.com/about/
Ionosphere: WS4G

Reply via email to