harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess" <mark.hind...@googlemail.com>
Subject [portlib][hythr] Minor API change: use const char* from names
Date Mon, 14 Sep 2009 20:11:41 GMT

I plan to modify the hythread api so that it uses "const char*" for
names of threads and monitors rather than the current "char*".  Since
the former is more appropriate and avoids errors (when using const
strings) without appropriate casts on recent versions of gcc.  (For
instance, you can't build the federated build with -Dhy.no.thr=true
with recent versions of gcc because of a warning treated as an error in

I don't think this should cause any issues are implicit casting in the
other direction is permitted without any warning/error.


View raw message