Review Request 122204: Mark results as required.

Kevin Funk kfunk at kde.org
Fri Jan 23 00:01:06 UTC 2015



> On Jan. 22, 2015, 11:11 p.m., Aleix Pol Gonzalez wrote:
> > +1
> > 
> > This change is not source-compatible though... 8-) or is it?
> 
> Milian Wolff wrote:
>     It's _meant_ to be source-incompatible. All places where it doesn't compile are "doing it wrong"™.
>     
>     If you mean abi-incompatible, then no - I don't think this changes the mangled name and thus anything while linking. I might be wrong though.
> 
> Aleix Pol Gonzalez wrote:
>     I know it's meant to do that, but we're still supposed to be source compatible. I don't think it would be very nice that there's some (broken) software that uses KF5 that can't be compiled anymore.
>     
>     I'm not against introducing this, BTW, I think it's a nice help, just wanted to highlight it because I think it's important to know what people would think about this.

This will just warn by default, though -- at least true for GCC. IMO, it's still worth it, given that using the i18n API can easily lead to no-ops in code (I've been there myself).

This doesn't affect the mangling either => ABI compatible


- Kevin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122204/#review74568
-----------------------------------------------------------


On Jan. 22, 2015, 6:34 p.m., Milian Wolff wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122204/
> -----------------------------------------------------------
> 
> (Updated Jan. 22, 2015, 6:34 p.m.)
> 
> 
> Review request for KDE Frameworks and Chusslove Illich.
> 
> 
> Repository: ki18n
> 
> 
> Description
> -------
> 
> This prevents API misuage, similar to how QString::arg is doing it.
> 
> See also:
> http://quickgit.kde.org/?p=kdevplatform.git&a=commit&h=078f1cd584e2de75ad19c46282b47dd1e0feff8f
> 
> 
> Diffs
> -----
> 
>   src/klocalizedstring.h 8e8e84926b444150e00c80b3b77766ba16e03e25 
> 
> Diff: https://git.reviewboard.kde.org/r/122204/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Milian Wolff
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150123/5d1427aa/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list