PengZheng commented on code in PR #454: URL: https://github.com/apache/celix/pull/454#discussion_r1045507007
########## libs/dfi/CMakeLists.txt: ########## @@ -39,7 +39,7 @@ target_include_directories(dfi PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include> $<INSTALL_INTERFACE:include/celix/dfi> ) - +target_compile_options(dfi PRIVATE -O0) #Remove optimalization to ensure libdfi / ffi works Review Comment: Does it has anything to do with `-Og`? I guess not. Does it crash when using `-O2`? If so, we should investigate why it happens. More background will be helpful. Maybe we file an issue regarding this? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org