[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> >Also, I think I got `statement without effect' warnings when trying to
> >silence the warnings by casting an unused variable to void - which
> >obviously defeats the purpose.
> >
> >
>
> I've never seen it. What options did you use? The void-cast is a
> standard idiom, to my knowledge.
Something insane like -W -Wall -pedantic probably. ;)
I haven't used either those flags or the cast-to-void since then, since the
first is too painful and the latter too ugly IMHO.
Evert