----- Matthieu Fertré <matthieu.fer...@free.fr> a écrit :
> From my side, I'm not very fan of exceptions. To be honest, I tried to
> use it only in constructor when there is other way to catch the error.
> (After months of Linux kernel programming, I really prefer to rollback
> using goto.)

This bodes well for my idea. However there are tricky parts, like what is used 
in map/maps_list.cpp

Mimicking what I've done for error when downloading, I was thinking of 
extending the error reporting. Maybe a class to store error messages from 
classes below (possibly with a stack), but it feels like over-engineering to me.

> PS : please, be accurate in message log. For instance, don't say that
> "Remove check_updates from config" when it is in fact "Remove
> check_updates from config if libcurl is not defined" ;)

I was wondering the same, then thought: well, the [task #7102] should hint at 
why and where it is done. But ok anyway :D

Best regards,
Christophe

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à