Working on two versions in parallel

Thomas Lübking thomas.luebking at web.de
Wed Dec 9 16:16:59 CET 2009


Am Wednesday 09 December 2009 schrieb Mark Kretschmann:
> But let me give you a practical example:
> 
> In the Collection settings, we have this button "Import Collection". I
> think we had discussed this before, and the problem with it is that
> it's a bit of a misnomer (doesn't import the collection, but rather
> the statistics). So I quickly wanted to add a tooltip for it, or
> rename the button. Not possible because of string freeze.
> 
> Now, I have two options:
> 1) Put it on my already loooooong TODO list.
> 2) Put it in some feature branch that I often forget about.
3)
#if AMAROK_VERSION >= 0x0202030
#warning "remove version check!"
// some string freeze breaking stuff here
#endif

in worst case you didn't test the #ifdef'd stuff and it will break compiling 
when you increase the version -> fix, remove warning, done =D

Cheers


More information about the Amarok-devel mailing list