Hi, Just in case someone encountering the same issue is interested, it can be solved by downgrading softlink of gcc and g++ under /usr/bin from 4.2 to 4.0.
On Wed, Mar 30, 2011 at 3:05 PM, Xiaohui Liu <[email protected]> wrote: > Hi everyone, > > I'm working on MacOS 10.6.6 and when I compile my program against TOSSIM, > it complains > In file included from /Users/xiaohui/tinyos-2.x/tos/lib/tossim/tos.h:58: > /usr/include/stdlib.h:272: syntax error before `^' > /usr/include/stdlib.h:272: `type name' declared as function returning a > function > > Does anyone know how to resolve this error? Similar questions seem have > been asked by other folks in the archive but no solution yet. > BTW, I'm using the latest TinyOS checked out from google code repository. > > -- > -Xiaohui Liu > -- -Xiaohui Liu
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
