Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
deepinv20编译报错怎么解决
Experiences and Insight
906
views ·
2
replies ·
To
floor
Go
q77190858
deepin
2020-07-03 07:01
Author
怎么办?
似乎只要有这个宏定义就不会报错了,可是怎么在编译参数里加上这个宏_IO_file_flags呢??
#ifdef
_IO_file_flags
/* Linux */
x = (
int
) ((
stdin
->
_IO_read_end
) - (
stdin
->
_IO_read_ptr
));
debug
(F101,
"cmdconchk _IO_file_flags"
,
""
,x);
#else
/* _IO_file_flags */
Reply
Like 0
Favorite
View the author
All Replies
mmlmonkey
deepin
2020-07-03 23:21
#1
现成的例子
Reply
Like 0
View the author
q77190858
deepin
2020-07-04 06:52
#2
https://bbs.deepin.org/post/196634
现成的例子
感谢,以前记得还学过怎么传宏定义,后面竟然忘了
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
怎么办?
似乎只要有这个宏定义就不会报错了,可是怎么在编译参数里加上这个宏_IO_file_flags呢??
#ifdef _IO_file_flags /* Linux */
x = (int) ((stdin->_IO_read_end) - (stdin->_IO_read_ptr));
debug(F101,"cmdconchk _IO_file_flags","",x);
#else /* _IO_file_flags */