qxe generation problem

Benson Margulies bim2006 at basistech.com
Thu Dec 7 09:53:16 EST 2006


Hmm. Why is it compiling that .c function with C++ const rules? We can
try adding a cast. I'll look at this tonight.

-----Original Message-----
From: ethersoft at gmail.com [mailto:ethersoft at gmail.com] On Behalf Of Vin
Shelton
Sent: Wednesday, December 06, 2006 9:05 PM
To: Benson Margulies
Cc: Ben Wing; Stephen J. Turnbull; XEmacs-Beta at xemacs.org
Subject: Re: qxe generation problem

Hi Benson,

On 12/5/06, Benson Margulies <bim2006 at basistech.com> wrote:
> Any word here on my access checking/qxe changes?

I'd love to get this patch into the 21.5 branch.  As I mentioned, I
already applied your patch to the 21.4 branch - thanks!

I tried to build a Windows-native 21.5 with your patch applied using
VC6 both with and without the SDK, but no joy.  Here's what happened:

Here are my non-SDK results:

1. I applied the attached patch.
2. I removed src/intl-auto-encap-win32
3. I created a config.inc file
4. nmake -f xemacs.mak unicode-encapsulate
5. nmake -f xemacs.mak  ==>
E:\cygwin\usr\local\src\xemacs-21.5-benson\src\fileio.c(2328) : error
C2664: 'qxeGetFileAttributes' : cannot convert parameter 1 from 'const
unsigned char *' to 'const char *'
       Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
NMAKE: fatal error U1077: 'cl' : return code '0x2'
Stop.

Here's how I tried to build with the SDK
1. I ran stdenv.cmd to set up my SDK environment
2. I applied the patch
3. I ran nmake -f xemacs.mak and I got the same result as before ==>
E:\cygwin\usr\local\src\xemacs-21.5-benson-sdk\src\fileio.c(2328) :
error C2664:
 'qxeGetFileAttributes' : cannot convert parameter 1 from 'const
unsigned char *
' to 'const char *'
        Types pointed to are unrelated; conversion requires
reinterpret_cast, C-
style cast or function-style cast
NMAKE: fatal error U1077: 'cl' : return code '0x2'
Stop.

Is there something else I should be doing?  In one email you alluded
to an updated version of your patch; did I apply the most recent
version?

Thanks,
  Vin
-- 
The Journey by Mary Oliver
http://www.poemhunter.com/p/m/poem.asp?poet=6771&poem=30506




More information about the XEmacs-Beta mailing list