[Expat-bugs] [ expat-Bugs-1220249 ] Build on x86em (windows ce)

SourceForge.net noreply at sourceforge.net
Sun Nov 27 20:31:41 CET 2005


Bugs item #1220249, was opened at 2005-06-14 06:12
Message generated for change (Settings changed) made by kwaclaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1220249&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Karl Waclawek (kwaclaw)
Summary: Build on x86em (windows ce)

Initial Comment:
I had to make the definition of
XML_Memory_Handline_Suite this:

typedef struct {
  void* (XMLCALL *malloc_fcn)(size_t size);
  void* (XMLCALL *realloc_fcn)(void *ptr, size_t size);
  void  (XMLCALL *free_fcn)(void *ptr);
} XML_Memory_Handling_Suite;

to be able to compile for emulator. I'm using eMVC 3.1

----------------------------------------------------------------------

>Comment By: Karl Waclawek (kwaclaw)
Date: 2005-11-27 14:31

Message:
Logged In: YES 
user_id=290026

Closed due to lack of follow-up by the poster.

----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2005-06-15 08:51

Message:
Logged In: YES 
user_id=290026

I think this depends on what the default calling convention is.
The memory handling function pointers must be assignment
compatible with the built-in memory handling functions.
This usually works with the default calling convention.

The problem is, if you change the definition of XML_CALL,
the calling convention for the built-in memory handlers
will not change and you get a mismatch.

Why don't you try changing your default calling convention
instead?
This is a project setting, I believe.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1220249&group_id=10127


More information about the Expat-bugs mailing list