Re: [AD] New patch for `const'-correctness |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Vincent Penquerc'h <vincent@xxxxxxxxxx> wrote:
>
> I don't. GCC has an extension which gets screwed if undefining const.
> You can write
> void foo() __attribute__((const));
> and defining out const will break that.
The idea is that we only define it to nothing if the compiler
doesn't support it, so the problem you mentioned is not a problem.
Anyway, autoheader does it so it *must* be okay :-)
--
tjaden@xxxxxxxxxx - http://www.psynet.net/tjaden/
To get something done, a committee should consist of no more than three
persons, two of them absent.