Kevin Puetz

Results 52 comments of Kevin Puetz
trafficstars

This "unable to initialize decompress status for section .debug_info" error seems unrelated to the changes being made - it looks like https://sourceware.org/bugzilla/show_bug.cgi?id=23919 (which is exposed if you mix old binutils...

I believe this issue remains valid in that WaitForVolume seems unchanged, and will only exit for network errors https://github.com/hashicorp/packer-plugin-openstack/blob/ae1177934942f7f7caff6a39591461738ac65dc7/builder/openstack/volume.go#L21 and successful completion https://github.com/hashicorp/packer-plugin-openstack/blob/ae1177934942f7f7caff6a39591461738ac65dc7/builder/openstack/volume.go#L35 So it will continue to wait and...

> MSVC makes it more difficult since it wants the attribute in an odd location. Indeed, that's the motive of this issue. MSVC wants calling conventions between the return type...

I think the most natural place (given that both implementations consider it to be part of the signature) for override matching) is that all 3 compilers (MSVC/g++/clang) allow calling conventions...

Hmm, though this provokes a warning "stdcall' attribute ignored [-Wattributes]" from gcc on x64 (cdecl and stdcall are the same on x86_64, though different on x86). And that also makes...

We could skirt closer to [Abominable Function Types](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0172r0.html) and actually use `sig` directly as the function type (also avoiding `return_of_t`, `TROMPELOEIL_PARAM_LIST` It seems to be OK if only the declaration...

Starting to see why gmock needed you to wrap these attributes in a `Calltype(...)` so it could do token-pasting games to separate them from the other `__VA_ARGS__`...

Hmm. I assume you mean doing something like [Mocking operator()](https://github.com/rollbear/trompeloeil/blob/main/docs/CookBook.md#-mocking-operator). That's clearly possible, but pretty inconvenient if you have to do it for every method, because you can't overload by...

It seems easy enough to support the addition in `TROMPELOEIL_MAKE_MOCK_` as @cesenaLA proposed, `callconv` is just another field like `sig` or `spec` that or might not might be empty, and...

CMAKE_GENERATOR_TOOLSET only affects the Visual Studio generators (well, and also Xcode and Green Hills MULTI, for non-MSVC usage). And it doesn't set the environment directly even then - it just...