unable to build due to error in nsWindowsRegKey.cpp under cygwin

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

unable to build due to error in nsWindowsRegKey.cpp under cygwin

Henrik Gemal-2
I'm getting:
d:/Mozilla/mozilla/xpcom/ds/nsWindowsRegKey.cpp: In member function
`virtual nsresult nsWindowsRegKey::Open(PRUint32, const
nsAString_internal&, PRUint32)':
d:/Mozilla/mozilla/xpcom/ds/nsWindowsRegKey.cpp:167: error: invalid
conversion from `const PRUnichar*' to `const WCHAR*'

can anyone see how this can be fixed?

--
Henrik Gemal
Mozilla Evangelist

Mozilla Blog with news, devinfo, links, etc:
http://gemal.dk
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: unable to build due to error in nsWindowsRegKey.cpp under cygwin

Boris Zbarsky
Henrik Gemal wrote:
> I'm getting:
> d:/Mozilla/mozilla/xpcom/ds/nsWindowsRegKey.cpp: In member function
> `virtual nsresult nsWindowsRegKey::Open(PRUint32, const
> nsAString_internal&, PRUint32)':
> d:/Mozilla/mozilla/xpcom/ds/nsWindowsRegKey.cpp:167: error: invalid
> conversion from `const PRUnichar*' to `const WCHAR*'
>
> can anyone see how this can be fixed?

Why are those two types different in your case?  What type is PRUnichar ending
up as?

-Boris
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: unable to build due to error in nsWindowsRegKey.cpp under cygwin

Henrik Gemal-2
Boris Zbarsky wrote:

> Henrik Gemal wrote:
>> I'm getting:
>> d:/Mozilla/mozilla/xpcom/ds/nsWindowsRegKey.cpp: In member function
>> `virtual nsresult nsWindowsRegKey::Open(PRUint32, const
>> nsAString_internal&, PRUint32)':
>> d:/Mozilla/mozilla/xpcom/ds/nsWindowsRegKey.cpp:167: error: invalid
>> conversion from `const PRUnichar*' to `const WCHAR*'
>>
>> can anyone see how this can be fixed?
>
> Why are those two types different in your case?  What type is PRUnichar
> ending up as?
>
> -Boris

https://bugzilla.mozilla.org/show_bug.cgi?id=330150

--
Henrik Gemal
Mozilla Evangelist

Mozilla Blog with news, devinfo, links, etc:
http://gemal.dk
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds