Open
Conversation
tiemuhua
reviewed
Mar 25, 2024
Contributor
There was a problem hiding this comment.
我觉得add_definitions(-DOHOS)放到编译脚本中更好,不要每个CMakeLists.txt都加一遍
tiemuhua
reviewed
Mar 25, 2024
Contributor
There was a problem hiding this comment.
__BEGIN_EXTERN_C/__END_EXTERN_C应该是定义在sys/cdefs.h中的,如果目前鸿蒙没有提供相应的头文件的话,我认为应该在项目中新加一个sys/cdefs.h,而不是把__BEGIN_EXTERN_C定义到现有的项目文件中。
|
请问mars\comm\unix\thread\thread.h 的 375行为什么要注释掉return pthread_cancel(tid());我看了一下是因为华为的那个pthread.h没有提供pthread_cancel吗?感觉这样直接注了是不是不太稳 |
|
各位大神 我用这个pr编译出来的鸿蒙版xlog 日志文件解码报错 我没有加密 也没有多进程使用 谁知道这是为什么啊 我是直接在C++端操作的xlog代码如下: 写日志 |
|
大佬,新年好,现在有稳定的鸿蒙 mars版本吗? |
Author
|
https://gitcode.com/wodekouwei/qlog 可以直接使用这个xlog库 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.