public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* Snapshot 2003-08-15 available.
@ 2003-08-15  2:54 Ross Johnson
  2003-08-18 12:52 ` vc
  0 siblings, 1 reply; 4+ messages in thread
From: Ross Johnson @ 2003-08-15  2:54 UTC (permalink / raw)
  To: pthreads-win32

Snapshot 2003-08-15 is now available. See

http://sources.redhat.com/pthreads-win32/

Enjoy.
Ross


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Snapshot 2003-08-15 available.
  2003-08-15  2:54 Snapshot 2003-08-15 available Ross Johnson
@ 2003-08-18 12:52 ` vc
  2003-08-18 13:23   ` vc
  0 siblings, 1 reply; 4+ messages in thread
From: vc @ 2003-08-18 12:52 UTC (permalink / raw)
  To: rpj, pthreads-win32

Hi,

I downloaded the 2003-08-15 sources and tests and I'm having some errors
when running the tests.
I'm using Win 2k, VC++ 7.1 and I'm building also the pthreads sources
myself.

I'm getting the following errors at the following tests (nmake clean VC):
1) reuse1.c ->
reuse1.c
reuse1.c(80) : error C2059: syntax error : '}'
reuse1.c(82) : error C2059: syntax error : ';'
reuse1.c(86) : error C2059: syntax error : ';'
reuse1.c(87) : error C2059: syntax error : ';'
reuse1.c(102) : error C2059: syntax error : ';'
reuse1.c(103) : error C2059: syntax error : ')'
reuse1.c(105) : error C2059: syntax error : ')'
reuse1.c(108) : error C2059: syntax error : ';'
reuse1.c(108) : error C2065: 'NUMTHREADS' : undeclared identifier
reuse1.c(108) : warning C4552: '<' : operator has no effect; expected
operator with side-effect
reuse1.c(108) : error C2143: syntax error : missing ';' before ')'
reuse1.c(111) : error C2059: syntax error : ')'
reuse1.c(113) : error C2059: syntax error : ')'
reuse1.c(118) : error C2059: syntax error : 'return'
reuse1.c(119) : error C2059: syntax error : '}'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

The problem is obviously the:
enum {NUMTHREADS = };

either the = should be removed, or a value should be put there

2) reuse2.c ->
reuse2.c
reuse2.c(81) : error C2059: syntax error : '}'
reuse2.c(84) : error C2059: syntax error : ';'
reuse2.c(92) : error C2059: syntax error : ';'
reuse2.c(98) : error C2065: 'NUMTHREADS' : undeclared identifier
reuse2.c(98) : error C2057: expected constant expression
reuse2.c(98) : error C2466: cannot allocate an array of constant size 0
reuse2.c(98) : error C2133: 't' : unknown size
reuse2.c(102) : error C2059: syntax error : ','
reuse2.c(109) : error C2059: syntax error : ';'
reuse2.c(109) : warning C4552: '<' : operator has no effect; expected
operator with side-effect
reuse2.c(109) : error C2143: syntax error : missing ';' before ')'
reuse2.c(114) : error C2059: syntax error : 'while'
reuse2.c(121) : error C2059: syntax error : 'for'
reuse2.c(121) : error C2143: syntax error : missing '{' before '<'
reuse2.c(121) : error C2059: syntax error : '<'
reuse2.c(121) : error C2143: syntax error : missing '{' before '++'
reuse2.c(121) : error C2059: syntax error : '++'
reuse2.c(121) : error C2059: syntax error : ')'
reuse2.c(150) : error C2059: syntax error : 'for'
reuse2.c(150) : error C2143: syntax error : missing '{' before '<'
reuse2.c(150) : error C2059: syntax error : '<'
reuse2.c(150) : error C2143: syntax error : missing '{' before '++'
reuse2.c(150) : error C2059: syntax error : '++'
reuse2.c(150) : error C2059: syntax error : ')'
reuse2.c(156) : error C2143: syntax error : missing ')' before 'string'
reuse2.c(156) : error C2143: syntax error : missing '{' before 'string'
reuse2.c(156) : error C2059: syntax error : '<Unknown>'
reuse2.c(156) : error C2059: syntax error : ')'
reuse2.c(157) : error C2143: syntax error : missing ')' before 'string'
reuse2.c(157) : error C2143: syntax error : missing '{' before 'string'
reuse2.c(157) : error C2059: syntax error : '<Unknown>'
reuse2.c(157) : error C2059: syntax error : ')'
reuse2.c(158) : error C2143: syntax error : missing ')' before 'string'
reuse2.c(158) : error C2143: syntax error : missing '{' before 'string'
reuse2.c(158) : error C2059: syntax error : '<Unknown>'
reuse2.c(158) : error C2059: syntax error : ')'
reuse2.c(159) : error C2143: syntax error : missing ')' before 'string'
reuse2.c(159) : error C2143: syntax error : missing '{' before 'string'
reuse2.c(159) : error C2059: syntax error : '<Unknown>'
reuse2.c(159) : error C2059: syntax error : ')'
reuse2.c(161) : error C2059: syntax error : 'return'
reuse2.c(162) : error C2059: syntax error : '}'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

The problem is the same like above

3) kill1.c ->
kill1.c
kill1.c(84) : error C2059: syntax error : ')'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

The problem: Seems that the second param for pthread_kill is missing ??????

4) valid1.c ->
valid1.c
valid1.c(80) : error C2059: syntax error : '}'
valid1.c(82) : error C2059: syntax error : ';'
valid1.c(86) : error C2059: syntax error : ';'
valid1.c(87) : error C2059: syntax error : ';'
valid1.c(96) : error C2059: syntax error : ';'
valid1.c(97) : error C2059: syntax error : ')'
valid1.c(99) : error C2059: syntax error : ')'
valid1.c(101) : error C2059: syntax error : ')'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

The problem: the same like in reuse1.c sample

5) valid2.c ->
valid2.c
valid2.c(88) : error C2059: syntax error : ')'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

The problem: the same like in kill1.c sample

All the other tests passed ...

Thanks a lot for providing this useful library,
Viv


----- Original Message -----
From: "Ross Johnson" <rpj@callisto.canberra.edu.au>
To: <pthreads-win32@sources.redhat.com>
Sent: Friday, August 15, 2003 4:54 AM
Subject: Snapshot 2003-08-15 available.


> Snapshot 2003-08-15 is now available. See
>
> http://sources.redhat.com/pthreads-win32/
>
> Enjoy.
> Ross
>
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Snapshot 2003-08-15 available.
  2003-08-18 12:52 ` vc
@ 2003-08-18 13:23   ` vc
  2003-08-19  1:26     ` Ross Johnson
  0 siblings, 1 reply; 4+ messages in thread
From: vc @ 2003-08-18 13:23 UTC (permalink / raw)
  To: pthreads-win32

I've tried to fix the below problems, but those tests seems to have more
than one compiling
problem ... For instance in reuse1.c I fixed the one described below, but
I'll get others ....

I've downloaded the sources from:
ftp://sources.redhat.com/pub/pthreads-win32/sources/pthreads-snap-2003-08-15
/

Viv

----- Original Message -----
From: "vc" <vcotirlea@hotmail.com>
To: <rpj@callisto.canberra.edu.au>; <pthreads-win32@sources.redhat.com>
Sent: Monday, August 18, 2003 2:53 PM
Subject: Re: Snapshot 2003-08-15 available.


> Hi,
>
> I downloaded the 2003-08-15 sources and tests and I'm having some errors
> when running the tests.
> I'm using Win 2k, VC++ 7.1 and I'm building also the pthreads sources
> myself.
>
> I'm getting the following errors at the following tests (nmake clean VC):
> 1) reuse1.c ->
> reuse1.c
> reuse1.c(80) : error C2059: syntax error : '}'
> reuse1.c(82) : error C2059: syntax error : ';'
> reuse1.c(86) : error C2059: syntax error : ';'
> reuse1.c(87) : error C2059: syntax error : ';'
> reuse1.c(102) : error C2059: syntax error : ';'
> reuse1.c(103) : error C2059: syntax error : ')'
> reuse1.c(105) : error C2059: syntax error : ')'
> reuse1.c(108) : error C2059: syntax error : ';'
> reuse1.c(108) : error C2065: 'NUMTHREADS' : undeclared identifier
> reuse1.c(108) : warning C4552: '<' : operator has no effect; expected
> operator with side-effect
> reuse1.c(108) : error C2143: syntax error : missing ';' before ')'
> reuse1.c(111) : error C2059: syntax error : ')'
> reuse1.c(113) : error C2059: syntax error : ')'
> reuse1.c(118) : error C2059: syntax error : 'return'
> reuse1.c(119) : error C2059: syntax error : '}'
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
>
> The problem is obviously the:
> enum {NUMTHREADS = };
>
> either the = should be removed, or a value should be put there
>
> 2) reuse2.c ->
> reuse2.c
> reuse2.c(81) : error C2059: syntax error : '}'
> reuse2.c(84) : error C2059: syntax error : ';'
> reuse2.c(92) : error C2059: syntax error : ';'
> reuse2.c(98) : error C2065: 'NUMTHREADS' : undeclared identifier
> reuse2.c(98) : error C2057: expected constant expression
> reuse2.c(98) : error C2466: cannot allocate an array of constant size 0
> reuse2.c(98) : error C2133: 't' : unknown size
> reuse2.c(102) : error C2059: syntax error : ','
> reuse2.c(109) : error C2059: syntax error : ';'
> reuse2.c(109) : warning C4552: '<' : operator has no effect; expected
> operator with side-effect
> reuse2.c(109) : error C2143: syntax error : missing ';' before ')'
> reuse2.c(114) : error C2059: syntax error : 'while'
> reuse2.c(121) : error C2059: syntax error : 'for'
> reuse2.c(121) : error C2143: syntax error : missing '{' before '<'
> reuse2.c(121) : error C2059: syntax error : '<'
> reuse2.c(121) : error C2143: syntax error : missing '{' before '++'
> reuse2.c(121) : error C2059: syntax error : '++'
> reuse2.c(121) : error C2059: syntax error : ')'
> reuse2.c(150) : error C2059: syntax error : 'for'
> reuse2.c(150) : error C2143: syntax error : missing '{' before '<'
> reuse2.c(150) : error C2059: syntax error : '<'
> reuse2.c(150) : error C2143: syntax error : missing '{' before '++'
> reuse2.c(150) : error C2059: syntax error : '++'
> reuse2.c(150) : error C2059: syntax error : ')'
> reuse2.c(156) : error C2143: syntax error : missing ')' before 'string'
> reuse2.c(156) : error C2143: syntax error : missing '{' before 'string'
> reuse2.c(156) : error C2059: syntax error : '<Unknown>'
> reuse2.c(156) : error C2059: syntax error : ')'
> reuse2.c(157) : error C2143: syntax error : missing ')' before 'string'
> reuse2.c(157) : error C2143: syntax error : missing '{' before 'string'
> reuse2.c(157) : error C2059: syntax error : '<Unknown>'
> reuse2.c(157) : error C2059: syntax error : ')'
> reuse2.c(158) : error C2143: syntax error : missing ')' before 'string'
> reuse2.c(158) : error C2143: syntax error : missing '{' before 'string'
> reuse2.c(158) : error C2059: syntax error : '<Unknown>'
> reuse2.c(158) : error C2059: syntax error : ')'
> reuse2.c(159) : error C2143: syntax error : missing ')' before 'string'
> reuse2.c(159) : error C2143: syntax error : missing '{' before 'string'
> reuse2.c(159) : error C2059: syntax error : '<Unknown>'
> reuse2.c(159) : error C2059: syntax error : ')'
> reuse2.c(161) : error C2059: syntax error : 'return'
> reuse2.c(162) : error C2059: syntax error : '}'
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
>
> The problem is the same like above
>
> 3) kill1.c ->
> kill1.c
> kill1.c(84) : error C2059: syntax error : ')'
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
>
> The problem: Seems that the second param for pthread_kill is missing
??????
>
> 4) valid1.c ->
> valid1.c
> valid1.c(80) : error C2059: syntax error : '}'
> valid1.c(82) : error C2059: syntax error : ';'
> valid1.c(86) : error C2059: syntax error : ';'
> valid1.c(87) : error C2059: syntax error : ';'
> valid1.c(96) : error C2059: syntax error : ';'
> valid1.c(97) : error C2059: syntax error : ')'
> valid1.c(99) : error C2059: syntax error : ')'
> valid1.c(101) : error C2059: syntax error : ')'
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
>
> The problem: the same like in reuse1.c sample
>
> 5) valid2.c ->
> valid2.c
> valid2.c(88) : error C2059: syntax error : ')'
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
>
> The problem: the same like in kill1.c sample
>
> All the other tests passed ...
>
> Thanks a lot for providing this useful library,
> Viv
>
>
> ----- Original Message -----
> From: "Ross Johnson" <rpj@callisto.canberra.edu.au>
> To: <pthreads-win32@sources.redhat.com>
> Sent: Friday, August 15, 2003 4:54 AM
> Subject: Snapshot 2003-08-15 available.
>
>
> > Snapshot 2003-08-15 is now available. See
> >
> > http://sources.redhat.com/pthreads-win32/
> >
> > Enjoy.
> > Ross
> >
> >
> >
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Snapshot 2003-08-15 available.
  2003-08-18 13:23   ` vc
@ 2003-08-19  1:26     ` Ross Johnson
  0 siblings, 0 replies; 4+ messages in thread
From: Ross Johnson @ 2003-08-19  1:26 UTC (permalink / raw)
  To: vc; +Cc: pthreads-win32

OK. I know what went wrong . I'll fix the new test case sources (the lib 
sources are OK, but I'll re check), and upload a new snapshot.

(I filtered the new test cases through tr -d \015 instead of tr -d 
'\015' when I copied them at one stage. Normally I use a script but my 
routine had to change slightly. Oh joy.)

Thanks and apologies.
Ross

vc wrote:

>I've tried to fix the below problems, but those tests seems to have more
>than one compiling
>problem ... For instance in reuse1.c I fixed the one described below, but
>I'll get others ....
>
>I've downloaded the sources from:
>ftp://sources.redhat.com/pub/pthreads-win32/sources/pthreads-snap-2003-08-15
>/
>
>Viv
>
>----- Original Message -----
>From: "vc" <vcotirlea@hotmail.com>
>To: <rpj@callisto.canberra.edu.au>; <pthreads-win32@sources.redhat.com>
>Sent: Monday, August 18, 2003 2:53 PM
>Subject: Re: Snapshot 2003-08-15 available.
>
>
>  
>
>>Hi,
>>
>>I downloaded the 2003-08-15 sources and tests and I'm having some errors
>>when running the tests.
>>I'm using Win 2k, VC++ 7.1 and I'm building also the pthreads sources
>>myself.
>>
>>I'm getting the following errors at the following tests (nmake clean VC):
>>1) reuse1.c ->
>>reuse1.c
>>reuse1.c(80) : error C2059: syntax error : '}'
>>reuse1.c(82) : error C2059: syntax error : ';'
>>reuse1.c(86) : error C2059: syntax error : ';'
>>reuse1.c(87) : error C2059: syntax error : ';'
>>reuse1.c(102) : error C2059: syntax error : ';'
>>reuse1.c(103) : error C2059: syntax error : ')'
>>reuse1.c(105) : error C2059: syntax error : ')'
>>reuse1.c(108) : error C2059: syntax error : ';'
>>reuse1.c(108) : error C2065: 'NUMTHREADS' : undeclared identifier
>>reuse1.c(108) : warning C4552: '<' : operator has no effect; expected
>>operator with side-effect
>>reuse1.c(108) : error C2143: syntax error : missing ';' before ')'
>>reuse1.c(111) : error C2059: syntax error : ')'
>>reuse1.c(113) : error C2059: syntax error : ')'
>>reuse1.c(118) : error C2059: syntax error : 'return'
>>reuse1.c(119) : error C2059: syntax error : '}'
>>NMAKE : fatal error U1077: 'cl' : return code '0x2'
>>Stop.
>>
>>The problem is obviously the:
>>enum {NUMTHREADS = };
>>
>>either the = should be removed, or a value should be put there
>>
>>2) reuse2.c ->
>>reuse2.c
>>reuse2.c(81) : error C2059: syntax error : '}'
>>reuse2.c(84) : error C2059: syntax error : ';'
>>reuse2.c(92) : error C2059: syntax error : ';'
>>reuse2.c(98) : error C2065: 'NUMTHREADS' : undeclared identifier
>>reuse2.c(98) : error C2057: expected constant expression
>>reuse2.c(98) : error C2466: cannot allocate an array of constant size 0
>>reuse2.c(98) : error C2133: 't' : unknown size
>>reuse2.c(102) : error C2059: syntax error : ','
>>reuse2.c(109) : error C2059: syntax error : ';'
>>reuse2.c(109) : warning C4552: '<' : operator has no effect; expected
>>operator with side-effect
>>reuse2.c(109) : error C2143: syntax error : missing ';' before ')'
>>reuse2.c(114) : error C2059: syntax error : 'while'
>>reuse2.c(121) : error C2059: syntax error : 'for'
>>reuse2.c(121) : error C2143: syntax error : missing '{' before '<'
>>reuse2.c(121) : error C2059: syntax error : '<'
>>reuse2.c(121) : error C2143: syntax error : missing '{' before '++'
>>reuse2.c(121) : error C2059: syntax error : '++'
>>reuse2.c(121) : error C2059: syntax error : ')'
>>reuse2.c(150) : error C2059: syntax error : 'for'
>>reuse2.c(150) : error C2143: syntax error : missing '{' before '<'
>>reuse2.c(150) : error C2059: syntax error : '<'
>>reuse2.c(150) : error C2143: syntax error : missing '{' before '++'
>>reuse2.c(150) : error C2059: syntax error : '++'
>>reuse2.c(150) : error C2059: syntax error : ')'
>>reuse2.c(156) : error C2143: syntax error : missing ')' before 'string'
>>reuse2.c(156) : error C2143: syntax error : missing '{' before 'string'
>>reuse2.c(156) : error C2059: syntax error : '<Unknown>'
>>reuse2.c(156) : error C2059: syntax error : ')'
>>reuse2.c(157) : error C2143: syntax error : missing ')' before 'string'
>>reuse2.c(157) : error C2143: syntax error : missing '{' before 'string'
>>reuse2.c(157) : error C2059: syntax error : '<Unknown>'
>>reuse2.c(157) : error C2059: syntax error : ')'
>>reuse2.c(158) : error C2143: syntax error : missing ')' before 'string'
>>reuse2.c(158) : error C2143: syntax error : missing '{' before 'string'
>>reuse2.c(158) : error C2059: syntax error : '<Unknown>'
>>reuse2.c(158) : error C2059: syntax error : ')'
>>reuse2.c(159) : error C2143: syntax error : missing ')' before 'string'
>>reuse2.c(159) : error C2143: syntax error : missing '{' before 'string'
>>reuse2.c(159) : error C2059: syntax error : '<Unknown>'
>>reuse2.c(159) : error C2059: syntax error : ')'
>>reuse2.c(161) : error C2059: syntax error : 'return'
>>reuse2.c(162) : error C2059: syntax error : '}'
>>NMAKE : fatal error U1077: 'cl' : return code '0x2'
>>Stop.
>>
>>The problem is the same like above
>>
>>3) kill1.c ->
>>kill1.c
>>kill1.c(84) : error C2059: syntax error : ')'
>>NMAKE : fatal error U1077: 'cl' : return code '0x2'
>>Stop.
>>
>>The problem: Seems that the second param for pthread_kill is missing
>>    
>>
>??????
>  
>
>>4) valid1.c ->
>>valid1.c
>>valid1.c(80) : error C2059: syntax error : '}'
>>valid1.c(82) : error C2059: syntax error : ';'
>>valid1.c(86) : error C2059: syntax error : ';'
>>valid1.c(87) : error C2059: syntax error : ';'
>>valid1.c(96) : error C2059: syntax error : ';'
>>valid1.c(97) : error C2059: syntax error : ')'
>>valid1.c(99) : error C2059: syntax error : ')'
>>valid1.c(101) : error C2059: syntax error : ')'
>>NMAKE : fatal error U1077: 'cl' : return code '0x2'
>>Stop.
>>
>>The problem: the same like in reuse1.c sample
>>
>>5) valid2.c ->
>>valid2.c
>>valid2.c(88) : error C2059: syntax error : ')'
>>NMAKE : fatal error U1077: 'cl' : return code '0x2'
>>Stop.
>>
>>The problem: the same like in kill1.c sample
>>
>>All the other tests passed ...
>>
>>Thanks a lot for providing this useful library,
>>Viv
>>
>>
>>----- Original Message -----
>>From: "Ross Johnson" <rpj@callisto.canberra.edu.au>
>>To: <pthreads-win32@sources.redhat.com>
>>Sent: Friday, August 15, 2003 4:54 AM
>>Subject: Snapshot 2003-08-15 available.
>>
>>
>>    
>>
>>>Snapshot 2003-08-15 is now available. See
>>>
>>>http://sources.redhat.com/pthreads-win32/
>>>
>>>Enjoy.
>>>Ross
>>>
>>>
>>>
>>>      
>>>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-19  1:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-15  2:54 Snapshot 2003-08-15 available Ross Johnson
2003-08-18 12:52 ` vc
2003-08-18 13:23   ` vc
2003-08-19  1:26     ` Ross Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).