=== bpierre_ is now known as bpierre === [0xAA] is now known as Zer0Pings === davmor2_ is now known as davmor2 [10:34] timp: https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/contextPropertyWindowQStringLiteral/+merge/307154 [10:36] kalikiana: why did I never see that warning? [10:36] what is the warning? [10:36] timp: See the description. Warnings are still flaky [10:37] Have been for a long time [10:37] Unless one were to use clang [10:37] yeah, I know. But I never saw a warning when testing locally (on yakkety) [10:37] ah the warning only shows with clang? [10:37] timp: I just replied to that :-) [10:37] No [10:37] I'm saying clang is 100% consistent, gcc is random [10:37] oh... nice ;) [10:38] kalikiana: ok, happroved. [10:38] I've complained about it before... and I was thinking loicm_'s work was meant to fix that, but it hasn't evidently [10:38] (But I stopped using clang because I don't constantly want to fix build errors) [10:41] (Thanks) [10:44] kalikiana: was it generating warnings on all builds or on specific Qt (or Ubuntu) version? [10:45] loicm_: I've seen it with Qt 5.6 and Xenial [10:45] The build actually continued [10:49] kalikiana: the warnings were fixed for Qt 5.5.1, not sure we were testing against 5.6 on CI yet [10:58] loicm_: Even if we weren't then, it should be failing the build now... [10:58] But it does not [10:59] kalikiana: right, but that's another issue [10:59] kalikiana: is it a custom compiled Qt? [11:00] No, it's what comes with Xenial [11:00] It's not "another issue" exactly - if it had failed the build, CI would've rejected the MR :-) [11:01] Usually I rely on that [11:02] I added this contextproperty call in parallel with loicm_ adding all the QStringLiterals, that's why it was missing for this instance. [11:08] kalikiana: it's linked obviously but fixing the QStringLiteral issue won't fix the warnings ar not errors on Qt 5.6, so two different issues with two different fixes required [11:08] timp: ah ok [11:08] kalikiana: I'll have to check what happens here, do you still have the link to the CI errors? [11:09] kalikiana: to check the flags [11:22] loicm_: You can see it here https://jenkins.ubuntu.com/ubuntu-sdk/job/ubuntu-ui-toolkit-ci-amd64-devel/1300/consoleText - search for setContextProperty [11:23] loicm_: http://paste.ubuntu.com/23250707/ === _salem is now known as salem_ [12:36] kalikiana (timp, zsombi): the reason why the implicit char*->QString conversion emitted a warning but didn't generated an error even though we have -Werror is because we also have -Wno-error=deprecated-declarations, all that is handled on purpose by the qmake warnings_are_errors option [12:37] they reason they explicitly add -Wno-error=deprectaed-declarations is explained here https://codereview.qt-project.org/#/c/63414/ [12:37] loicm_: oh, so this means that if we take that away, we'd get rest of the string failures on Linux too... [12:38] zsombi: I guess so, but it depends on the compiler [12:41] kalikiana, zsombi: we don't have the same issue regarding -Wno-error=deprecated-declarations since we don't ship tarballs for our releases (AFAIK), but that's definitely a good reason [12:48] loicm_: Hrm yeah, I can see the point. From my/ our point of view I'd say it's a little different in that specifically for CI all warnings can expected to be fixed - if that makes sense we could perhaps override it in the debian/rules specifically, so anyone using branches elsewhere won't have to deal with new warnings === chihchun is now known as chihchun_afk [12:56] kalikiana: that's also what I think would be the best, it could be done by removing that flag when compiled with the debian_build option (passed at qmake time in the debian rules) [12:59] kalikiana: but that also means that by default when developing, these warnings would go unnoticed and appear only in CI, which could be a little frustrating [12:59] kalikiana: I don't think that's too problematic though since we'll switch on the silent option and make these warnings much more visible [13:00] kalikiana: together with the colored GCC messages that are one by default now [13:00] Generally speaking I'd argue that anyway you are going to run into errors that only occur on CI [13:01] kalikiana: yup [13:01] I'm adding that to my TODO then [13:01] Ideally we could enable warnings in qmake based on the systems we have CI for - but I'm not sure how feasible that is [13:02] loicm_: You're saying we'll have silent flags in CI? I always have them locally because I'd go mad otherwise, but I thought there's a reason we don't do it out of the box [13:03] kalikiana: I think silent should be on only when !debian_build [13:03] kalikiana: because on CI you want to see the flags [13:03] Hmmkay I guess in that case it's not relevant to me === JanC is now known as Guest12605 === JanC_ is now known as JanC === [0xAA] is now known as Zer0Pings === chihchun_afk is now known as chihchun === diddledan_ is now known as diddledan === salem_ is now known as _salem