-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LOG macro conflicts #154
Comments
That's an unfortunate collision, though I guess it isn't surprising. We can't simply switch to something like @kyessenov supposing we added such a |
Yeah, that would work. The problem is mainly "null VM" code since it imports both parts of Envoy with absl and proxy-wasm header. I think it's fine to disable the log macros in those modules since they are not standalone and coupled with Envoy. |
Does anybody use |
@PiotrSikora Well, it's public so we can't be sure. I'm not sure about the desire for backwards compatibility for the SDK - it might be OK to break it since it doesn't seem to be versioned in any way. |
LOG causes macro pollution and conflicts with ProxyWasm SDK (see proxy-wasm/proxy-wasm-cpp-sdk#154). PiperOrigin-RevId: 533164114
LOG causes macro pollution and conflicts with ProxyWasm SDK (see proxy-wasm/proxy-wasm-cpp-sdk#154). PiperOrigin-RevId: 533164114
Abseil has defined LOG as well: https://github.com/abseil/abseil-cpp/blob/master/absl/log/log.h
proxy-wasm-api.h defining the macro unconditionally causes issues importing abseil into wasm.
The text was updated successfully, but these errors were encountered: