C++11 anonymous union with non-trivial members

There is no need for placement new here. Variant members won’t be initialized by the compiler-generated constructor, but there should be no trouble picking one and initializing it using the normal ctor-initializer-list. Members declared inside anonymous unions are actually members of the containing class, and can be initialized in the containing class’s constructor. This behavior … Read more

ORA-06508: PL/SQL: could not find program unit being called

I suspect you’re only reporting the last error in a stack like this: ORA-04068: existing state of packages has been discarded ORA-04061: existing state of package body “schema.package” has been invalidated ORA-04065: not executed, altered or dropped package body “schema.package” ORA-06508: PL/SQL: could not find program unit being called: “schema.package” If so, that’s because your … Read more

WCFTestClient The HTTP request is unauthorized with client authentication scheme ‘Anonymous’

I didn’t have control over the security configuration for the service I was calling into, but got the same error. I was able to fix my client as follows. In the config, set up the security mode: <security mode=”TransportCredentialOnly”> <transport clientCredentialType=”Windows” proxyCredentialType=”None” realm=”” /> <message clientCredentialType=”UserName” algorithmSuite=”Default” /> </security> In the code, set the proxy … Read more