build issue with Tellico and msvc

Johnny Jazeix jazeix at gmail.com
Tue Mar 9 16:16:37 GMT 2021


I have no idea on why it works on other compilers :).

On Godbolt: https://godbolt.org/z/EeT5h9 (if I didn't mistyped and reduced
correctly the code), it fails on all compilers...

Johnny

Le lun. 8 mars 2021 à 13:00, Robby Stephenson <robby at periapsis.org> a
écrit :

> Hi,
>
> On Mon, Mar 8, 2021 at 2:19 AM Johnny Jazeix <jazeix at gmail.com> wrote:
>
>> this kind of error (missing type), often means an include is missing or
>> the class/struct/enum is not found.
>>
>> Doesn't it miss the namespace in the .cpp file: using Tellico::Fetch or
>> using namespace Tellico::Fetch?
>>
>
> Yes, on an individual error level, you're correct. I could fix it with a
> fully-qualified class name there. And I fixed the first error I saw in the
> build CI that way. But there are going to be lots of these errors since, up
> until now, I thought I was writing code that followed the c++ rules for
> name resolution. What I really want to figure out is why I can build
> Tellico myself, with the default craft settings, without problem. I've
> compared the console output and all the compiler flags seem to be the same.
> The CI uses a slightly older version of MSVC 2019 but I don't think that
> matters. In essence, I'm trying to understand why Tellico will build fine
> with gcc and clang on Linux and BSD and with my install of craft, but just
> not on the CI. What's different and how do I debug that?
>
> Robby
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20210309/08040056/attachment.htm>


More information about the Kde-windows mailing list