User forums > Help
Compiler Flags not saved (only after restart)
oBFusCATed:
Post a minimal patch and we can discuss it.
White-Tiger:
well.... that patch was minimal^^ The main reason wasn't this fix xD Just fixed that anyway... And I've even commented it.. you can clearly see that it's only in the 2nd file... and there it's just 2 relevant lines out of 8.. so not hard to check ;) (and less then 5 minutes of time, less time I would need to create a new one)
it's
--- Code: ---95 - compiler->SetOptions(m_Options); //LDC : DOES NOT BELONG HERE !!!
--- End code ---
and
--- Code: ---118 + compiler->SetOptions(m_Options);
--- End code ---
Patches have to be looked at anyway, so it doesn't change much.. either you understand what they do and apply them, understand what they do and properly implement them (because something was overlooked) or you don't understand and ignore them.. well a developer should always understand what's going on with his own program :P
Posting patches is work as well, unnecessary work and I've took about an hour to just post that one... fixing it was almost faster^^ (well not really.. that "save fix", yes, the other changes.. maybe not)
So stop complaining about "huge" patches (even tho that one isn't huge at all... it's even easy to understand) just addict yourself to you program (Code::Blocks) and try to improve it instead of ignoring stuff. You know.. this patching mechanism is a real problem with open source.. because patches aren't accepted in time and a lot good ones just ignored. And I don't mean Code::Blocks specifically.. I've checked multiple open source softwares and their patches.. some aren't accepted for years even though they fixed a "major" problem and seemed ok. Generally rather rewrite the patch when it fixes something than ignoring it all together. Guess why some people don't even bother to post patches ;) It's mainly a waste of time. (Even more when you try to keep them "small")
One might have high requirements for feature adding patches... but not bug or major usability fixes ;)
oBFusCATed:
Minimal is subjective. But most of the times it means that a patch fixes one single thing and has a clear explanation what is fixing.
So if you still think that the current solution is not fine and can be improved please post a patch...
Navigation
[0] Message Index
[*] Previous page
Go to full version