|
|
xdvik不能正确显示2byte的ovf, 在源码中查到控制这个的是
NeedWidePrototypes是否被define成1
但是在x11proto-core-dev中的Xfuncproto.h中是这么写的- /* Function prototype configuration (see configure for more info) */
- #ifndef NARROWPROTO
- #define NARROWPROTO
- #endif
- #ifndef FUNCPROTO
- #define FUNCPROTO 15
- #endif
- #ifndef NeedWidePrototypes
- #ifdef NARROWPROTO
- #define NeedWidePrototypes 0
- #else
- #define NeedWidePrototypes 1 /* default to make interropt. easier */
- #endif
- #endif /* NeedWidePrototypes */
复制代码 也就是说NeedWidePrototypes被define成了0
于是根据注释说看configure的提示, 就把x11proto-core-dev的源码拉了下来..
然后./configure --help, 显示如下- .......
- Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --enable-function-prototypes
- force function prototypes (default: auto)
- --enable-varargs-prototypes
- varargs prototypes are supported (default: auto)
- --enable-const-prototypes
- const is supported (default: auto)
- --enable-nested-prototypes
- nested prototypes are supported (default: auto)
- [color=red] --enable-wide-prototypes
- widen function prototypes (default: auto)[/color]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
- .......
复制代码 然后发现如果是linux, 那么默认不开启.
我对这些都不太懂..第一次改源码... 这算是bug么? 算谁的? xdvi的么? 还是x11proto-core-dev的? |
|