Andrew V. Teylu

Results 172 comments of Andrew V. Teylu

Doing 2 (i.e., updating to CMake 3.21.3) resolves the issue (i.e., `CMAKE_LINKER` is set to `/usr/bin/ld` not `CMAKE_LINKER-NOTFOUND`).

Seems pretty conclusive: - CMake 3.21.1, no `lld`: `CMAKE_LINKER:FILEPATH=CMAKE_LINKER-NOTFOUND` - CMake 3.21.2, no `lld`: `CMAKE_LINKER:FILEPATH=/usr/bin/ld` - CMake 3.21.3, no `lld`: `CMAKE_LINKER:FILEPATH=/usr/bin/ld` - CMake 3.21.1, with `lld`: `CMAKE_LINKER:FILEPATH=/usr/bin/ld.lld`

I think you're not getting much of a reply, because your question doesn't (really) make sense in the context of `infer`. `infer` is a static analysis tool aimed at finding...

> I want [...] to count the number of times a string appears and the file name where it appears > So you want `grep -c`?

Oh, that's sad ... so even though pyschec is targetting C++17, and `filesystem` is in C++17, 18.04's GCC doesn't have enough support for it: - https://askubuntu.com/questions/1256440/how-to-get-libstdc-with-c17-filesystem-headers-on-ubuntu-18-bionic 😞 We could just...

`TMPDIR` + `mkstemp` implemented ~**I DON'T ACTUALLY THINK THIS WORKS -- `executeCore` DOES NOT RETURN ALL OF STDOUT** (but that's not a bug in this PR, but there is a...

So, I'm fine to "work around 18.04" *but* does this mean you actually prefer the `pid`-based approach? Personally, I consider `mkstemp` nicer, but then it does need to deal with...

Do you prefer `pid` over using the temporary directory + `.i`? Your choice :)

Will revisit this this week + do the stuff about looking for C++17 on older Ubuntus!

I can reproduce this issue exactly; I *think* it is potentially due to something being marked as `__declspec(dllexport)`/`__declspec(dllimport)` inconsistently: - https://stackoverflow.com/a/52210637 Unfortunately, just nuking `PSY_API` in `common/API.h` doesn't help ...