Re: [PATCH] ! fixed error while compiling in Thread/IoThread.c
Steve Dekorte <[email protected]> Tue, 17 Jan 2012 17:28:49 -0800
| Newsgroups | gmane.comp.lang.io |
|---|---|
| Message-ID | <[email protected]> |
Hi Alexander, Thanks for the bug report and patch. I've pushed a fix. Steve On 2012-01-17 Tue, at 11:28 AM, Alexander Kluth wrote: > Error while compiling was: IoThread.c:24:15: error: ‘IoTag_newWithName_protoId’ undeclared > > It was caused by a missing open parantheses (. > > Signed-off-by: Alexander Kluth <[email protected]> > --- > addons/Thread/source/IoThread.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/addons/Thread/source/IoThread.c b/addons/Thread/source/IoThread.c > index 7416658..7a73768 100644 > --- a/addons/Thread/source/IoThread.c > +++ b/addons/Thread/source/IoThread.c > @@ -21,7 +21,7 @@ static const char *protoId = "Thread"; > > IoTag *IoThread_newTag(void *state) > { > - IoTag *tag = IoTag_newWithName_protoId); > + IoTag *tag = IoTag_newWithName_protoId(); > IoTag_state_(tag, state); > IoTag_freeFunc_(tag, (IoTagFreeFunc *)IoThread_free); > IoTag_cloneFunc_(tag, (IoTagCloneFunc *)IoThread_rawClone); > -- > 1.7.7 > > > > ------------------------------------ > > Yahoo! Groups Links > > > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/iolanguage/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/iolanguage/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/