[sane-devel] [announce] coolscan3 release

Julien BLACHE jb at jblache.org
Mon Dec 17 17:22:26 UTC 2007


Alessandro Zummo <azummo-lists at towertech.it> wrote:

Hi,

>> Adding something to an enum is a really bad idea because you can not
>> test if this item is listed in the enum, you will get a lot of probelms
>> with this.
>
>  why? if every frontend has a correct handling in the default:
>  case of the switch() statement, it can just throw an error.

I have, like, a feeling of déja vu.

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169



More information about the sane-devel mailing list