Hi there, Wenlong! This patch is about year-old, so Jitrino APIs were pretty obsolete. I had updated patch and put current version in JIRA, checked on Linux x86, Dacapo:fop runs well with -Xem:client.
Could you please try out new version? Thanks, Aleksey. On Tue, Nov 4, 2008 at 6:07 AM, Wenlong Li <[EMAIL PROTECTED]> wrote: > Aleksey, > > I tried your patch > (https://issues.apache.org/jira/browse/HARMONY-5356) in my side, and > encoutered compilation error as below: Any tip to fix this problem? > > Thx, > Wenlong > > build: > [echo] ## Building 'em' > [cc] Starting dependency analysis for 6 files. > [cc] 6 files are up to date. > [cc] 0 files to be recompiled from dependency analysis. > [cc] 2 total files to be compiled. > [cc] DelayProfileCollector.cpp > [cc] c:\work\Harmony\working_vm\vm\em\src\DelayProfileCollector.h(39) > : error C2226: syntax error : unexpected type 'EM_PC_Interface' > [cc] c:\work\Harmony\working_vm\vm\em\src\DelayProfileCollector.h(39) > : error C2238: unexpected token(s) preceding ';' > [cc] c:\work\Harmony\working_vm\vm\em\src\DelayProfileCollector.h(48) > : error C2146: syntax error : missing ';' before identifier > 'getInitialTimeout' > [cc] c:\work\Harmony\working_vm\vm\em\src\DelayProfileCollector.h(48) > : error C2433: 'DelayProfileCollector::uint32' : 'virtual' not > permitted on data de > clarations > [cc] c:\work\Harmony\working_vm\vm\em\src\DelayProfileCollector.h(48) > : error C2501: 'DelayProfileCollector::uint32' : missing storage-class > or type spec > ifiers > [cc] c:\work\Harmony\working_vm\vm\em\src\DelayProfileCollector.h(48) > : warning C4183: 'getInitialTimeout': missing return type; assumed to > be a member function returning 'int' > [cc] c:\work\Harmony\working_vm\vm\em\src\DelayProfileCollector.h(49) > : error C2146: syntax error : missing ';' before identifier > 'getTimeout' > [cc] c:\work\Harmony\working_vm\vm\em\src\DelayProfileCollector.h(49) > : error C2433: 'DelayProfileCollector::uint32' : 'virtual' not > permitted on data de > clarations > [cc] c:\work\Harmony\working_vm\vm\em\src\DelayProfileCollector.h(49) > : error C2501: 'DelayProfileCollector::uint32' : missing storage-class > or type spec > ifiers > [cc] c:\work\Harmony\working_vm\vm\em\src\DelayProfileCollector.h(49) > : warning C4183: 'getTimeout': missing return type; assumed to be a > member function returning 'int' > [cc] c:\work\Harmony\working_vm\vm\em\src\DelayProfileCollector.h(64) > : error C2146: syntax error : missing ';' before identifier 'timeout' > [cc] c:\work\Harmony\working_vm\vm\em\src\DelayProfileCollector.h(64) > : error C2501: 'DelayProfileCollector::uint32' : missing storage-class > or type specifiers > ....... >
