Re: [AD] Allegro 4.2.0 RC2 |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Chris wrote:
A void function returning a void value is valid. void somefunc(); void anotherfunc() { return somefunc(); } ..is 100% okay, AFAIK.
but is sooooooooo uglyand 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
-- Regards, Michal ICQ# 175762750
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |