今天编译ibm上的程序发现gcc 3.2.3的一个bug,需要在编译选项上加入-fpermissvie即可编译成功。
And I don't seems to include the g++ path to my include/lib list. Did you
> include them in when you build 4.07 version ? Please share your
> experience in building it.
>
You MUST edit all the Makefiles in uipp and its subdirectories and add
-fpermissive after c++, i.e. c++ -fpermissive otherwise g++ will
not compile when it hits Xlib.h and Xuutil.h. This is a known X11 headers
problems. Adding -fpermissive flag changes errors to warnings and will at
least let you compile.
编译IBM上的程序时发现gcc 3.2.3存在一个bug,需在编译选项中加入 -fpermissive 才能编译成功。同时提到可能未将g++路径添加到包含/库列表中,还指出要在相关Makefiles里的c++后添加 -fpermissive 以解决X11头文件问题。
4809

被折叠的 条评论
为什么被折叠?



