harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-654) [classlib][portlib] hytty_printf("%d", -1) outputs "01"
Date Mon, 23 Apr 2007 14:25:15 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490937

Vasily Zakharov commented on HARMONY-654:


I get the following error while building on WinXP:

     [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -FIsehmap.h -D_X86_=1  -DWIN32
-D_WIN32 -W3 -D_WIN95 -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400
-Zi -Od -WX -GF -Gs -MD -Zm400  -D_DLL -D_MT -D_WINSOCKAPI_ /IC:\HarmonyTrunk\working_classlib\deploy\include
/IC:\HarmonyTrunk\working_classlib\deploy\jdk\include /I. -DHYPORT_LIBRARY_DEFINE /I..\shared\
-Fo..\shared\hystr.obj ..\shared\hystr.c
     [exec] hystr.c
     [exec] ..\shared\hystr.c(665) : error C2220: warning treated as error - no object file
     [exec] ..\shared\hystr.c(665) : warning C4018: '>' : signed/unsigned mismatch
     [exec] ..\shared\hystr.c(681) : warning C4018: '>' : signed/unsigned mismatch
     [exec] ..\shared\hystr.c(698) : warning C4018: '>' : signed/unsigned mismatch
     [exec] NMAKE : fatal error U1077: 'cl' : return code '0x2'
     [exec] Stop.

Looks like this patch could be the cause. Have you tried rebuilding the whole build from scratch
after 'ant clean'?

Thank you!

> [classlib][portlib] hytty_printf("%d", -1) outputs "01"
> -------------------------------------------------------
>                 Key: HARMONY-654
>                 URL: https://issues.apache.org/jira/browse/HARMONY-654
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Ubuntu 6.06, latest classlib as of this date, IBM j9 VM for linux
v3 (mkII)
>            Reporter: Geir Magnusson Jr
>         Assigned To: Paulex Yang
>            Priority: Minor
>         Attachments: harmony-654.diff
> Noting as an issue so I don't forget, hytty_printf() doesn't print a "-" but rather a
"0" in front of negative integers.
> I haven't traced it far enough to see where the bug is, but wanted to enter a JIRA as
a reminder

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message