[En-Nut-Discussion] Problem with CONDITION

Ole Reinhardt ole.reinhardt at embedded-it.de
Mon Aug 17 15:10:55 CEST 2009

> The compiler could not handle the _CONDITION typedef in the .h file if it 
> was referrd to by the function header definition. I don't know why as it 
> normally should work that way. By using pointers it works fine.  

Exactly the problem I just fixed. There was a "sizeof(_CONDITION) which
fails. Instead you have to write sizeof(struct _CONDITION));

This bug is fixed in the trunk since a few days...

> > Feel free to check it in, but please send me the archive or diff anyway. 
> I'll check it in in a single step alone and send you the version id and a 
> diff. Then I add the new edits for the hhopen project: 



|                                                             |
| Embedded-IT                                                 |
|                                                             |
| Ole Reinhardt        Tel. / Fax:        +49 (0)271  7420433 |
| Luisenstraße 29      Mobil:             +49 (0)177  7420433 |
| 57076 Siegen         eMail:    ole.reinhardt at embedded-it.de |
| Germany              Web:         http://www.embedded-it.de |

More information about the En-Nut-Discussion mailing list