gcc-3.4.4 & golded-1.1.5 (CVS)
- From
- Pavel Vasilyev (2:5020/1042.65)
- To
- All
- Date
- 2005-06-05T20:07:10Z
- Area
- RU.UNIX.FTN
Hello everybody.
g++ -c -MD -g -funsigned-char -I../../goldlib/gall -I../../goldlib/gcfg -I../../goldlib/gmb3 -I../../goldlib/smblib -Wall -Wno-sign-compare -pedantic -O2 -DPRAGMA_PACK -fno-exceptions -fno-rtti -D__USE_NCURSES__ -o ../../obj/lnx/gmb3/gmohuds.o gmohuds.cpp
In file included from gmohuds.cpp:30:
../../goldlib/gmb3/gmohuds.h:160: warning: `packed' attribute ignored
../../goldlib/gmb3/gmohuds.h:161: warning: `packed' attribute ignored
In file included from ../../goldlib/gmb3/gmohuds.h:353,
from gmohuds.cpp:30:
../../goldlib/gmb3/gmohuds5.cpp: In member function `Line* _HudsArea<msgn_t, rec_t, attr_t, board_t, last_t, __HUDSON>::make_dump_msg(Line*&, gmsg*, char*)':
../../goldlib/gmb3/gmohuds5.cpp:68: error: invalid conversion from `const char*' to `char*'
../../goldlib/gmb3/gmohuds2.cpp: In member function `void _HudsWide<msgn_t, rec_t, attr_t, board_t, last_t, __HUDSON>::refresh() [with msgn_t = dword, rec_t = long int, attr_t = word, board_t = word, last_t = word[500], bool __HUDSON = false]':
../../goldlib/gmb3/gmohuds2.cpp:241: instantiated from `void _HudsWide<msgn_t, rec_t, attr_t, board_t, last_t, __HUDSON>::lock() [with msgn_t = dword, rec_t = long int, attr_t = word, board_t = word, last_t = word[500], bool __HUDSON = false]'
../../goldlib/gmb3/gmohuds2.cpp:177: instantiated from `void _HudsWide<msgn_t, rec_t, attr_t, board_t, last_t, __HUDSON>::open() [with msgn_t = dword, rec_t = long int, attr_t = word, board_t = word, last_t = word[500], bool __HUDSON = false]'
gmohuds.cpp:51: instantiated from here
../../goldlib/gmb3/gmohuds2.cpp:161: warning: converting to non-pointer type `bool' from NULL
[...skipped...]
И так далее, всё из поддержки Hudson, т.е.
gmohuds.cpp gmohuds1.cpp gmohuds3.cpp
gmohuds5.cpp gmohuds.h gmohuds2.cpp gmohuds4.cpp
Если какая нибудь функция вызывает функцию, которая описана в одном из этих файлов,
сразу кирдык (error).
И ещё. Зачем там конвертируется conts char* в char*
P.S.
Ни каких флагов компиляции для g++ не добавляю/убираю
g++-3.4.4
glibc-2.3.4
P.P.S.
Я всё же думаю на gcc/g++, так как на gcc-3.3.2 этого небыло и всё собиралось.
Pavel
--- GoldED+/LNX 1.1.5-31012
* Origin: i(c\N&A6,DP<@>S[[o4:n%69p$$o8Zjk)04do@!xQZ~HjvQPN!' (2:5020/1042.65)
SEEN-BY: 46/50 50/203 400/814 450/118 186 247 1024 451/30 453/129 454/9
SEEN-BY: 465/285 4646/15 5000/5000 5001/5001 5002/50 79 5003/57 5010/53
SEEN-BY: 5011/13 5012/23 5015/10 5019/31 5020/40 52 59 113 154 175 400 517 545
SEEN-BY: 5020/627 715 758 770 830 871 895 937 949 950 969 976 996 1042 1159
SEEN-BY: 5020/1175 1201 1229 1255 1280 1297 1387 1452 1493 1523 1581 1604 1697
SEEN-BY: 5020/1835 2009 2020 2142 2238 2424 3274 4441 4767 24000 5021/29
SEEN-BY: 5022/128 5025/3 750 5026/45 5027/16 5030/49 115 556 966 1063 1900
SEEN-BY: 5031/70 5035/38 5036/34 5042/13 5049/50 5054/1 8 9 18 37 63 67 81
SEEN-BY: 5059/37 5061/120 5062/1 10 5063/3 5067/2 5069/7 5070/1222 5079/23
SEEN-BY: 5080/80 1003 5083/21 5085/13 5090/108 113 5092/1 5095/20 5096/18
SEEN-BY: 5099/11 6000/12 254 6001/10 6035/9 6090/1
PATH: 5020/1042 758 4441 545 5054/1 37