Differences in Visual Studio vs OpenJDK compiles - jchar vs OLECHAR
pete at a11ysoft.com
Mon Jun 7 22:59:50 UTC 2010
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:
const jchar* jcstr = env->GetStringCritical(name, NULL);
*pszName = ::SysAllocStringLen(jcstr, env->GetStringLength(name));
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
Has anyone else encountered this before?
a11ysoft - Accessibility Architecture and Development
(512) 238-6967 (work), (512) 689-4155 (cell)
IM: ptbrunet (AOL, Google), ptbrunet at live.com (MSN)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the build-dev