Conversation
| #ifndef GRPCPP_IMPL_CODEGEN_CORE_CODEGEN_INTERFACE_H | ||
| #define GRPCPP_IMPL_CODEGEN_CORE_CODEGEN_INTERFACE_H | ||
|
|
||
| #include <cassert> |
There was a problem hiding this comment.
Why is this inclusion needed now when it wasn't used before?
There was a problem hiding this comment.
or I guess we could depend on the users of this to include it instead. That's what Core does right now
There was a problem hiding this comment.
<cassert> is for the assert() macro. NDEBUG is just a flag that's supposed to be globally defined by the command-line build, such as -DNDEBUG. The default is that neither _DEBUG nor NDEBUG are defined. Build systems such as cmake or bazel will define one of them depending on building in debug or release mode.
There was a problem hiding this comment.
Ah ofcourse! you are right. That was my moment of stupidity :D
Removed it
|
|
|
|
|
|
|
|
|
Known issues : #16212 |
|
This doesn't do the right thing so I'm going to revert. We often do |
Add GPR_CODEGEN_DEBUG_ASSERT