mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 19:40:33 +08:00
* libltp/lib/parse_opts.c: Deal with C warnings.
* winsup.api/pthread/cancel12.c: Ditto. * winsup.api/winsup.exp: Don't use -g3.
This commit is contained in:
parent
3202ad2b9e
commit
9cca06eea1
@ -1,3 +1,9 @@
|
|||||||
|
2003-02-07 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* libltp/lib/parse_opts.c: Deal with C warnings.
|
||||||
|
* winsup.api/pthread/cancel12.c: Ditto.
|
||||||
|
* winsup.api/winsup.exp: Don't use -g3.
|
||||||
|
|
||||||
2003-02-04 Thomas Pfaff <tpfaff@gmx.net>
|
2003-02-04 Thomas Pfaff <tpfaff@gmx.net>
|
||||||
|
|
||||||
* winsup.api/pthread/cancel11.c: New test.
|
* winsup.api/pthread/cancel11.c: New test.
|
||||||
|
@ -56,7 +56,6 @@ else
|
|||||||
CFLAGS:=@CFLAGS@ -MD $(TESTSUP_INCLUDES)
|
CFLAGS:=@CFLAGS@ -MD $(TESTSUP_INCLUDES)
|
||||||
endif
|
endif
|
||||||
CXXFLAGS:=@CXXFLAGS@
|
CXXFLAGS:=@CXXFLAGS@
|
||||||
export ALL_CFLAGS
|
|
||||||
|
|
||||||
AR:=@AR@
|
AR:=@AR@
|
||||||
AR_FLAGS:=qv
|
AR_FLAGS:=qv
|
||||||
@ -92,6 +91,10 @@ RUNTIME=$(cygwin_build)/new-cygwin1.dll $(cygwin_build)/new-libcygwin.a
|
|||||||
TESTSUP_LIB_NAME:=libltp.a
|
TESTSUP_LIB_NAME:=libltp.a
|
||||||
TESTSUP_OFILES:=${sort ${addsuffix .o,${basename ${notdir ${wildcard $(libltp_srcdir)/lib/*.c}}}}}
|
TESTSUP_OFILES:=${sort ${addsuffix .o,${basename ${notdir ${wildcard $(libltp_srcdir)/lib/*.c}}}}}
|
||||||
|
|
||||||
|
override ALL_CFLAGS:=${filter-out -O%,$(ALL_CFLAGS)}
|
||||||
|
override COMPILE_CC:=${filter-out -O%,$(COMPILE_CC)}
|
||||||
|
override CFLAGS:=${filter-out -O%,$(CFLAGS)}
|
||||||
|
|
||||||
.PHONY: all force dll_ofiles install all_target install_target all_host install_host
|
.PHONY: all force dll_ofiles install all_target install_target all_host install_host
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
@ -100,6 +100,24 @@
|
|||||||
#define DEBUG 0
|
#define DEBUG 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Code from usctest.h that not part of this file since we are the library.
|
||||||
|
*/
|
||||||
|
|
||||||
|
struct usc_errno_t TEST_VALID_ENO[USC_MAX_ERRNO];
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* Globals for returning the return code and errno from the system call
|
||||||
|
* test macros.
|
||||||
|
***********************************************************************/
|
||||||
|
int TEST_RETURN;
|
||||||
|
int TEST_ERRNO;
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* temporary variables for determining max and min times in TEST macro
|
||||||
|
***********************************************************************/
|
||||||
|
long btime, etime, tmptime;
|
||||||
|
|
||||||
/* The timing information block. */
|
/* The timing information block. */
|
||||||
struct tblock tblock={0,((long) -1)>>1,0,0};
|
struct tblock tblock={0,((long) -1)>>1,0,0};
|
||||||
|
|
||||||
@ -808,24 +826,6 @@ int Help = 0;
|
|||||||
int Help2 = 0;
|
int Help2 = 0;
|
||||||
char *ptr;
|
char *ptr;
|
||||||
|
|
||||||
/*
|
|
||||||
* Code from usctest.h that not part of this file since we are the library.
|
|
||||||
*/
|
|
||||||
|
|
||||||
struct usc_errno_t TEST_VALID_ENO[USC_MAX_ERRNO];
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
* Globals for returning the return code and errno from the system call
|
|
||||||
* test macros.
|
|
||||||
***********************************************************************/
|
|
||||||
int TEST_RETURN;
|
|
||||||
int TEST_ERRNO;
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
* temporary variables for determining max and min times in TEST macro
|
|
||||||
***********************************************************************/
|
|
||||||
long btime, etime, tmptime;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* for test specific parse_opts options */
|
/* for test specific parse_opts options */
|
||||||
|
@ -58,7 +58,6 @@ static void *Thread(void *punused)
|
|||||||
|
|
||||||
int main (void)
|
int main (void)
|
||||||
{
|
{
|
||||||
void *old_sigh;
|
|
||||||
void * result;
|
void * result;
|
||||||
pthread_t t;
|
pthread_t t;
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ foreach src [glob -nocomplain $srcdir/$subdir/*.c $srcdir/$subdir/*/*.c] {
|
|||||||
clear_xfail
|
clear_xfail
|
||||||
}
|
}
|
||||||
|
|
||||||
ws_spawn "$CC -g3 -nodefaultlibs -mwin32 $CFLAGS $src $add_includes $add_libs $runtime_root/binmode.o -lgcc $runtime_root/new-libcygwin.a -lkernel32 -luser32 -o $base.exe"
|
ws_spawn "$CC -nodefaultlibs -mwin32 $CFLAGS $src $add_includes $add_libs $runtime_root/binmode.o -lgcc $runtime_root/new-libcygwin.a -lkernel32 -luser32 -o $base.exe"
|
||||||
if { $rv != "" } {
|
if { $rv != "" } {
|
||||||
verbose -log "$rv"
|
verbose -log "$rv"
|
||||||
fail "$testcase (compile)"
|
fail "$testcase (compile)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user