From: Gustavo S. B. <bar...@pr...> - 2009-08-19 13:15:15
|
On Wed, Aug 19, 2009 at 10:07 AM, Joerg Sonnenberger<jo...@br...> wrote: > On Wed, Aug 19, 2009 at 02:36:54PM +0200, Cedric BAIL wrote: >> It's not gcc specific other decent compiler support this feature. But >> apparently not suncc, so you can patch if needed. > > void arithmetic is NOT a feature. It is a historic accident and bug. > Code using it is simply broken. Nothing less. i'd say so... specially since it has the same effect as (char*) on GCC, so just cast and be happy :-) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: bar...@gm... Skype: gsbarbieri Mobile: +55 (19) 9225-2202 |