Hi Johnny, On Tue, Mar 9, 2021 at 11:16 AM Johnny Jazeix <[email protected]> wrote:
> 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... > Oh wow, thanks for that pointer to Godbolt. I hadn't seen that before. Now I've already spent way too much time on there, playing with various settings. In any case, I think I would reduce it differently https://godbolt.org/z/PPKKas which seems to compile on everything. So I'm still puzzled. Robby Le lun. 8 mars 2021 à 13:00, Robby Stephenson <[email protected]> a > écrit : > >> Hi, >> >> On Mon, Mar 8, 2021 at 2:19 AM Johnny Jazeix <[email protected]> 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 >> >
