Re: [AD] Allegro 4.2.0 RC2 |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2005-08-28, Michal Molhanec <michal@xxxxxxxxxx> wrote:
> Chris wrote:
> >A void function returning a void value is valid.
> >
> >void somefunc();
> >void anotherfunc()
> >{
> > return somefunc();
> >}
> >
> >..is 100% okay, AFAIK.
>
> but is sooooooooo ugly
>
> and most compilers issues warning on this (normally even gcc); i prefer
> compiling allegro without warnings
>
> and -- last but not least -- it's prohibited in C++ so it breaks using
> allegro from C++ programs
Well, I found this:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/1996/N0849.pdf
I will apply your patch. Thanks.
Peter