harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ly niu" <taosin...@gmail.com>
Subject How to pass -DWIN32 to native build?
Date Wed, 05 Mar 2008 02:22:58 GMT
In my build log, there are some error. I find the root cause is, there isn't
-DWIN32 in cl build command. How to creat an "-DWIN32" after cl command in
harmony ant build env.  Need your help.

BR


-build-native:
     [echo] Making "" in
D:\OpenSource\harmony\trunk\working_classlib\modules\portlib\src\main\nativ
e/common/windows
     [exec]     cl -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -
FIsehmap.h -D_X86_=1 -D_WIN95 -
D_WIN32_WINDOWS=0x0400 -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -WX -GF
-Gs -MD -Zm400   -D_CRT_SE
CURE_NO_DEPRECATE  -D_CRT_SECURE_NO_WARNINGS  -D_SCL_SECURE_NO_DEPRECATE
-D_DLL -D_MT -D_WINSOCKAPI
_  /ID:\OpenSource\harmony\trunk\working_classlib\deploy\include
/ID:\OpenSource\harmony\trunk\worki
ng_classlib\deploy\jdk\include /I. /I..\shared\ -Fo..\shared\libglob.obj
..\shared\libglob.c
     [exec] libglob.c
     [exec]
D:\OpenSource\harmony\trunk\working_classlib\deploy\include\hythread.h(107)
: error C214
6: syntax error : missing ')' before identifier 'millis'

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message