[Bug 101] Broken compilation with traditional object layout

[email protected]
Newsgroups gmane.comp.java.vm.sablevm.bugs
Message-ID <[email protected]>
http://sablevm.org/bugs/show_bug.cgi?id=101

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Broken compilation with     |Broken compilation with
                   |traditional object layout   |traditional object layout



------- Additional Comments From [email protected]  2005-02-20 19:45 -------

missing:
size_t, size_t
from cl_alloc.list.

Note that used only in by traditional... simply adding them cause an "unused"
warning for bidirectional.

So, need to conditionnally add it.

Tried adding:
m4_ifelse($3,,,#ifdef $3)
svm_static jint
_svmh_cl_malloc_$1 (_svmt_JNIEnv *env,
		    _svmt_class_loader_info *class_loader_info,
		    size_t nmemb, $2 ** ptr)
...

and use:
size_t, size_t, _SABLEVM_TRADITIONAL_OBJECT_LAYOUT

But the #ifdef always printed even if $3 is empty... any clue?





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.