You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "Zakharov, Vasily M" <va...@intel.com> on 2007/04/23 16:20:20 UTC

[classlib] Build failed

Hi, all,

I'm trying to build (after clean) the recent classlib on WinXP and
repeatedly get the following fail:

     [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 generated
     [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.

Yesterday I had no problems. Am I doing something wrong or the build is
broken?

Vasily Zakharov
Intel ESSD

Re: [classlib] Build failed

Posted by Leo Li <li...@gmail.com>.
 I have encountered the same problem building with visual studio 2003.
 One choice is to set WARNING_LEVEL=W0 also on win32 platform in
depends\build\defines.mak as a workround.
 Maybe the patch owner will look at it tomorrow.:)


On 4/23/07, Zakharov, Vasily M <va...@intel.com> wrote:
>
> Hi, all,
>
> I'm trying to build (after clean) the recent classlib on WinXP and
> repeatedly get the following fail:
>
>     [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 generated
>     [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.
>
> Yesterday I had no problems. Am I doing something wrong or the build is
> broken?
>
> Vasily Zakharov
> Intel ESSD
>



-- 
Leo Li
China Software Development Lab, IBM

Re: [classlib] Build failed

Posted by Leo Li <li...@gmail.com>.
After some study, I will first try the luni module.
And I will:

1.Open all warnings on linux platform.
2.Clean up any warning for GCC 3.0 or 4.0.
3.Set warning-as-error by default.
4.Considering the behaviors of different compilers on different platforms, I
can hardly treat with all these compilers in the first time. So an build
option hy.no.warning can be set to avoid warning-as-error if necessary.

A JIRA https://issues.apache.org/jira/browse/HARMONY-3752 is reported for
the issue.

On 4/24/07, Leo Li <li...@gmail.com> wrote:
>
>  OK, Tim. I will begin to clean up warnings.:)
>
> On 4/24/07, Tim Ellison <t....@gmail.com> wrote:
> >
> > Leo Li wrote:
> > > OK, I will try to open them.
> > >
> > >  But there is one thing to decide: whether to regard all warnings as
> > > error. I once opened all warnings as error in luni module but the
> > config is
> > > changed to just report warning but does not stop compiling. If the
> > warning
> > > is not regarded as error as on win32 platform does, the different
> > building
> > > behavior will occur.
> > >  So if no body objects, I will use the strict form, that is -Wall
> > -Werror
> > > option for GCC 3.0 or GCC 4.0.
> >
> > IIRC we had the strict options set for a while, then took in a bulk
> > contribution that required we were a bit more forgiving during
> > integration.  It would be good to tidy up all the code to avoid
> > warnings.
> >
> > Regards,
> > Tim
> >
>
>
>
> --
> Leo Li
> China Software Development Lab, IBM
>



-- 
Leo Li
China Software Development Lab, IBM

Re: [classlib] Build failed

Posted by Leo Li <li...@gmail.com>.
 OK, Tim. I will begin to clean up warnings.:)

On 4/24/07, Tim Ellison <t....@gmail.com> wrote:
>
> Leo Li wrote:
> > OK, I will try to open them.
> >
> >  But there is one thing to decide: whether to regard all warnings as
> > error. I once opened all warnings as error in luni module but the config
> is
> > changed to just report warning but does not stop compiling. If the
> warning
> > is not regarded as error as on win32 platform does, the different
> building
> > behavior will occur.
> >  So if no body objects, I will use the strict form, that is -Wall
> -Werror
> > option for GCC 3.0 or GCC 4.0.
>
> IIRC we had the strict options set for a while, then took in a bulk
> contribution that required we were a bit more forgiving during
> integration.  It would be good to tidy up all the code to avoid warnings.
>
> Regards,
> Tim
>



-- 
Leo Li
China Software Development Lab, IBM

Re: [classlib] Build failed

Posted by Tim Ellison <t....@gmail.com>.
Leo Li wrote:
> OK, I will try to open them.
> 
>  But there is one thing to decide: whether to regard all warnings as
> error. I once opened all warnings as error in luni module but the config is
> changed to just report warning but does not stop compiling. If the warning
> is not regarded as error as on win32 platform does, the different building
> behavior will occur.
>  So if no body objects, I will use the strict form, that is -Wall -Werror
> option for GCC 3.0 or GCC 4.0.

IIRC we had the strict options set for a while, then took in a bulk
contribution that required we were a bit more forgiving during
integration.  It would be good to tidy up all the code to avoid warnings.

Regards,
Tim

Re: [classlib] Build failed

Posted by Leo Li <li...@gmail.com>.
 OK, I will try to open them.

  But there is one thing to decide: whether to regard all warnings as
error. I once opened all warnings as error in luni module but the config is
changed to just report warning but does not stop compiling. If the warning
is not regarded as error as on win32 platform does, the different building
behavior will occur.
  So if no body objects, I will use the strict form, that is -Wall -Werror
option for GCC 3.0 or GCC 4.0.


On 4/24/07, Tim Ellison <t....@gmail.com> wrote:
>
> Alexey Varlamov wrote:
> > I thought we already agreed to keep it turned on... It would be nice
> > if you could have some time cleaning Linux too.
>
> Agreed.
>
> Tim
>



-- 
Leo Li
China Software Development Lab, IBM

Re: [classlib] Build failed

Posted by Tim Ellison <t....@gmail.com>.
Alexey Varlamov wrote:
> I thought we already agreed to keep it turned on... It would be nice
> if you could have some time cleaning Linux too.

Agreed.

Tim

Re: [classlib] Build failed

Posted by Alexey Varlamov <al...@gmail.com>.
I thought we already agreed to keep it turned on... It would be nice
if you could have some time cleaning Linux too.

2007/4/24, Leo Li <li...@gmail.com>:
>  Personally, I would prefer to open all the warnings. It can help us a lot
> on porting, for example.
>  But there will be a lot of legacy problems on linux platform.:)
>
>
>
> On 4/24/07, Tony Wu <wu...@gmail.com> wrote:
> >
> > Shall we get an agreement on the on/off of warning?
> >
> > On 4/24/07, Leo Li <li...@gmail.com> wrote:
> > > Hi, Tony,
> > >      The warning option is off of linux but on of windows.:)
> > >
> > >
> > > On 4/23/07, Tony Wu <wu...@gmail.com> wrote:
> > > >
> > > > FYI, I tried on my Ubuntu with gcc4, it passes :)
> > > >
> > > > On 4/23/07, Zakharov, Vasily M <va...@intel.com> wrote:
> > > > >
> > > > > Leo, Tim, thanks for quick response.
> > > > >
> > > > >  Vasily
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Tim Ellison [mailto:t.p.ellison@gmail.com]
> > > > > Sent: Monday, April 23, 2007 7:16 PM
> > > > > To: dev@harmony.apache.org
> > > > > Subject: Re: [classlib] Build failed
> > > > >
> > > > > FYI failing code backed out at r531497.
> > > > >
> > > > > Regards,
> > > > > Tim
> > > > >
> > > > >
> > > > > Zakharov, Vasily M wrote:
> > > > > > Hi, all,
> > > > > >
> > > > > > I'm trying to build (after clean) the recent classlib on WinXP and
> > > > > > repeatedly get the following fail:
> > > > > >
> > > > > >      [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 generated
> > > > > >      [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.
> > > > > >
> > > > > > Yesterday I had no problems. Am I doing something wrong or the
> > build
> > > > > is
> > > > > > broken?
> > > > > >
> > > > > > Vasily Zakharov
> > > > > > Intel ESSD
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Tony Wu
> > > > China Software Development Lab, IBM
> > > >
> > >
> > >
> > >
> > > --
> > > Leo Li
> > > China Software Development Lab, IBM
> > >
> >
> >
> > --
> > Tony Wu
> > China Software Development Lab, IBM
> >
>
>
>
> --
> Leo Li
> China Software Development Lab, IBM
>

Re: [classlib] Build failed

Posted by Leo Li <li...@gmail.com>.
 Personally, I would prefer to open all the warnings. It can help us a lot
on porting, for example.
 But there will be a lot of legacy problems on linux platform.:)



On 4/24/07, Tony Wu <wu...@gmail.com> wrote:
>
> Shall we get an agreement on the on/off of warning?
>
> On 4/24/07, Leo Li <li...@gmail.com> wrote:
> > Hi, Tony,
> >      The warning option is off of linux but on of windows.:)
> >
> >
> > On 4/23/07, Tony Wu <wu...@gmail.com> wrote:
> > >
> > > FYI, I tried on my Ubuntu with gcc4, it passes :)
> > >
> > > On 4/23/07, Zakharov, Vasily M <va...@intel.com> wrote:
> > > >
> > > > Leo, Tim, thanks for quick response.
> > > >
> > > >  Vasily
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Tim Ellison [mailto:t.p.ellison@gmail.com]
> > > > Sent: Monday, April 23, 2007 7:16 PM
> > > > To: dev@harmony.apache.org
> > > > Subject: Re: [classlib] Build failed
> > > >
> > > > FYI failing code backed out at r531497.
> > > >
> > > > Regards,
> > > > Tim
> > > >
> > > >
> > > > Zakharov, Vasily M wrote:
> > > > > Hi, all,
> > > > >
> > > > > I'm trying to build (after clean) the recent classlib on WinXP and
> > > > > repeatedly get the following fail:
> > > > >
> > > > >      [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 generated
> > > > >      [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.
> > > > >
> > > > > Yesterday I had no problems. Am I doing something wrong or the
> build
> > > > is
> > > > > broken?
> > > > >
> > > > > Vasily Zakharov
> > > > > Intel ESSD
> > > > >
> > > >
> > >
> > >
> > > --
> > > Tony Wu
> > > China Software Development Lab, IBM
> > >
> >
> >
> >
> > --
> > Leo Li
> > China Software Development Lab, IBM
> >
>
>
> --
> Tony Wu
> China Software Development Lab, IBM
>



-- 
Leo Li
China Software Development Lab, IBM

Re: [classlib] Build failed

Posted by Tony Wu <wu...@gmail.com>.
Shall we get an agreement on the on/off of warning?

On 4/24/07, Leo Li <li...@gmail.com> wrote:
> Hi, Tony,
>      The warning option is off of linux but on of windows.:)
>
>
> On 4/23/07, Tony Wu <wu...@gmail.com> wrote:
> >
> > FYI, I tried on my Ubuntu with gcc4, it passes :)
> >
> > On 4/23/07, Zakharov, Vasily M <va...@intel.com> wrote:
> > >
> > > Leo, Tim, thanks for quick response.
> > >
> > >  Vasily
> > >
> > >
> > > -----Original Message-----
> > > From: Tim Ellison [mailto:t.p.ellison@gmail.com]
> > > Sent: Monday, April 23, 2007 7:16 PM
> > > To: dev@harmony.apache.org
> > > Subject: Re: [classlib] Build failed
> > >
> > > FYI failing code backed out at r531497.
> > >
> > > Regards,
> > > Tim
> > >
> > >
> > > Zakharov, Vasily M wrote:
> > > > Hi, all,
> > > >
> > > > I'm trying to build (after clean) the recent classlib on WinXP and
> > > > repeatedly get the following fail:
> > > >
> > > >      [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 generated
> > > >      [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.
> > > >
> > > > Yesterday I had no problems. Am I doing something wrong or the build
> > > is
> > > > broken?
> > > >
> > > > Vasily Zakharov
> > > > Intel ESSD
> > > >
> > >
> >
> >
> > --
> > Tony Wu
> > China Software Development Lab, IBM
> >
>
>
>
> --
> Leo Li
> China Software Development Lab, IBM
>


-- 
Tony Wu
China Software Development Lab, IBM

Re: [classlib] Build failed

Posted by Leo Li <li...@gmail.com>.
Hi, Tony,
      The warning option is off of linux but on of windows.:)


On 4/23/07, Tony Wu <wu...@gmail.com> wrote:
>
> FYI, I tried on my Ubuntu with gcc4, it passes :)
>
> On 4/23/07, Zakharov, Vasily M <va...@intel.com> wrote:
> >
> > Leo, Tim, thanks for quick response.
> >
> >  Vasily
> >
> >
> > -----Original Message-----
> > From: Tim Ellison [mailto:t.p.ellison@gmail.com]
> > Sent: Monday, April 23, 2007 7:16 PM
> > To: dev@harmony.apache.org
> > Subject: Re: [classlib] Build failed
> >
> > FYI failing code backed out at r531497.
> >
> > Regards,
> > Tim
> >
> >
> > Zakharov, Vasily M wrote:
> > > Hi, all,
> > >
> > > I'm trying to build (after clean) the recent classlib on WinXP and
> > > repeatedly get the following fail:
> > >
> > >      [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 generated
> > >      [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.
> > >
> > > Yesterday I had no problems. Am I doing something wrong or the build
> > is
> > > broken?
> > >
> > > Vasily Zakharov
> > > Intel ESSD
> > >
> >
>
>
> --
> Tony Wu
> China Software Development Lab, IBM
>



-- 
Leo Li
China Software Development Lab, IBM

Re: [classlib] Build failed

Posted by Tony Wu <wu...@gmail.com>.
FYI, I tried on my Ubuntu with gcc4, it passes :)

On 4/23/07, Zakharov, Vasily M <va...@intel.com> wrote:
>
> Leo, Tim, thanks for quick response.
>
>  Vasily
>
>
> -----Original Message-----
> From: Tim Ellison [mailto:t.p.ellison@gmail.com]
> Sent: Monday, April 23, 2007 7:16 PM
> To: dev@harmony.apache.org
> Subject: Re: [classlib] Build failed
>
> FYI failing code backed out at r531497.
>
> Regards,
> Tim
>
>
> Zakharov, Vasily M wrote:
> > Hi, all,
> >
> > I'm trying to build (after clean) the recent classlib on WinXP and
> > repeatedly get the following fail:
> >
> >      [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 generated
> >      [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.
> >
> > Yesterday I had no problems. Am I doing something wrong or the build
> is
> > broken?
> >
> > Vasily Zakharov
> > Intel ESSD
> >
>


-- 
Tony Wu
China Software Development Lab, IBM

RE: [classlib] Build failed

Posted by "Zakharov, Vasily M" <va...@intel.com>.
Leo, Tim, thanks for quick response.

 Vasily


-----Original Message-----
From: Tim Ellison [mailto:t.p.ellison@gmail.com] 
Sent: Monday, April 23, 2007 7:16 PM
To: dev@harmony.apache.org
Subject: Re: [classlib] Build failed

FYI failing code backed out at r531497.

Regards,
Tim


Zakharov, Vasily M wrote:
> Hi, all,
> 
> I'm trying to build (after clean) the recent classlib on WinXP and
> repeatedly get the following fail:
> 
>      [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 generated
>      [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.
> 
> Yesterday I had no problems. Am I doing something wrong or the build
is
> broken?
> 
> Vasily Zakharov
> Intel ESSD
> 

Re: [classlib] Build failed

Posted by Tim Ellison <t....@gmail.com>.
FYI failing code backed out at r531497.

Regards,
Tim


Zakharov, Vasily M wrote:
> Hi, all,
> 
> I'm trying to build (after clean) the recent classlib on WinXP and
> repeatedly get the following fail:
> 
>      [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 generated
>      [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.
> 
> Yesterday I had no problems. Am I doing something wrong or the build is
> broken?
> 
> Vasily Zakharov
> Intel ESSD
> 

Re: [classlib] Build failed

Posted by Yang Paulex <pa...@gmail.com>.
2007/4/23, Zakharov, Vasily M <va...@intel.com>:
>
> Hi, all,
>
> I'm trying to build (after clean) the recent classlib on WinXP and
> repeatedly get the following fail:
>
>      [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 generated
>      [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.
>
> Yesterday I had no problems. Am I doing something wrong or the build is
> broken?


D'oh...sorry it's my fault, I only tried on  Linux before commit.

Vasily Zakharov
> Intel ESSD
>



-- 
Paulex Yang
China Software Development laboratory
IBM