Closed vient closed 1 month ago
Maybe you can use push_macro/pop_macro instead? https://gcc.gnu.org/onlinedocs/gcc/Push_002fPop-Macro-Pragmas.html If they are available, otherwise fail if DEBUG is defined or something else.
cc @ilyachur
This issue will be closed in a week because of 9 months of no activity.
This issue was closed because it has been stalled for 9 months with no activity.
OpenVINO Version
2023.1
Operating System
Ubuntu 20.04 (LTS)
Hardware Architecture
x86 (64 bits)
Target Platform
No response
Build issue description
This review fixed issue in openvino code when DEBUG is a defined macro. It tries to return DEBUG value back but it does not work. This breaks the code that includes openvino headers and then expects that DEBUG macro is defined.
Build scrip or step-by-step to reproduce
It does not work even in simplest scenario when DEBUG is just a number: https://godbolt.org/z/be1er5rsb
Relevant log output
I use DEBUG as a debug logging function, in that case output looks like this
Issue submission checklist