forum.wfido.ru  

Вернуться   forum.wfido.ru > Прочие эхи > RU.HUSKY

Ответ
 
Опции темы Опции просмотра
  #1  
Старый 03.07.2021, 18:22
Alexander Polozov
Guest
 
Сообщений: n/a
По умолчанию fidoconf make error

Alexander Polozov написал(а) к All в Jul 21 17:14:02 по местному времени:

Привет, All!

Сабж.

=== Begin Fake Clipboard ===
* compiling fidoconf...
* QA Notice: The 'useq' function is deprecated (replaced by 'use')
make -j1 -l1 -j1 PREFIX=/var/tmp/portage/net-ftn/fidoconf-9999/image/usr CFGDIR=/etc/ftn MANDIR=/var/tmp/portage/net-ftn/fidoconf-9999/image/usr/share/man
src/cfg.c: In function ?_configline?:
src/cfg.c:274:5: error: unknown type name ?bool?
274 | bool partly_read = true;
| ^~~~
src/cfg.c:274:26: error: ?true? undeclared (first use in this function); did you mean ?tree??
274 | bool partly_read = true;
| ^~~~
| tree
src/cfg.c:274:26: note: each undeclared identifier is reported only once for each function it appears in
src/cfg.c:275:5: error: unknown type name ?bool?
275 | bool first_part = true;
| ^~~~
src/cfg.c:304:26: error: ?false? undeclared (first use in this function)
304 | first_part = false;
| ^~~~~
make: * [makefile.inc:27: cfg.o] Error 1

=== End Fake Clipboard ===



Со всеми пожеланиями, Alexander Polozov

... Ну и что, что я обещал, я же не сделал.
--- GoldED+/LNX 1.1.5 (Linux 5.10.27-gentoo CPU UNKNOWN)
Ответить с цитированием
  #2  
Старый 03.07.2021, 22:23
Nil A
Guest
 
Сообщений: n/a
По умолчанию fidoconf make error

Nil A написал(а) к Alexander Polozov в Jul 21 21:14:48 по местному времени:

Нello, Alexander!

Saturday July 03 2021 17:14, from Alexander Polozov -> All:

AP> Сабж.
AP> name ?bool? 274 | bool partly_read = true;
AP> | ^~~~
AP> src/cfg.c:274:26: error: ?true? undeclared (first use in this

Да всё сломали. Я уже какое-то время вот так собираю.
C_FLAGS += "-Dfalse=0 -Dtrue=1 -Dbool='unsigned char'"
Разбираться, что под какой платформой, с каким компилятором, с каким include комбинацией не определяет символы - так лениво.

Best Regards, Nil
--- GoldED+/LNX 1.1.5
Ответить с цитированием
  #3  
Старый 03.07.2021, 23:02
Dmitriy Smirnov
Guest
 
Сообщений: n/a
По умолчанию fidoconf make error

Dmitriy Smirnov написал(а) к All в Jul 21 23:51:10 по местному времени:

hi, All!

03 Jul 21 21:14, Nil A wrote to Alexander Polozov:

AP>> Сабж.
AP>> name ?bool? 274 | bool partly_read = true;
AP>> | ^~~~
AP>> src/cfg.c:274:26: error: ?true? undeclared (first use in this

NA> Да всё сломали. Я уже какое-то время вот так собираю.
NA> C_FLAGS += "-Dfalse=0 -Dtrue=1 -Dbool='unsigned char'"
NA> Разбираться, что под какой платформой, с каким компилятором, с каким
NA> include комбинацией не определяет символы - так лениво.

не скажу про всё, но fidoconf точно поломали зачем-то и далее все что с инклудом fidoconf/fidoconf.h туда же.

wbr, Dmitriy.
---
Ответить с цитированием
  #4  
Старый 03.07.2021, 23:52
Sergey Anohin
Guest
 
Сообщений: n/a
По умолчанию fidoconf make error

Sergey Anohin написал(а) к Nil A в Jul 21 22:36:16 по местному времени:

Нello, Nil!

NA> Да всё сломали. Я уже какое-то время вот так собираю.
NA> C_FLAGS += "-Dfalse=0 -Dtrue=1 -Dbool='unsigned char'"
NA> Разбираться, что под какой платформой, с каким компилятором, с каким include комбинацией не определяет символы - так лениво.

Может хедер какой заинклудить забыли? :)

Часто виднеется:
use of undeclared identifier

На FreeBSD тоже, хоть gcc (gcc version 9.2.0 (FreeBSD Ports Collection)), хоть шлангом не собирается, но у шланга вывод больше (FreeBSD clang version 10.0.1) :)

clang -Wall -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -O3 -DUNIX -DНASPOPEN -DCFGDIR=\"/usr/local/etc/fido\" -DPATНDELIM=\'/\' -c -fPIC -Wall -ggdb -DUNIX -I.. -Wno-char-subscripts -Ifidoconf -I/usr/local/include src/common.c
clang: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
clang: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
clang -Wall -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -O3 -DUNIX -DНASPOPEN -DCFGDIR=\"/usr/local/etc/fido\" -DPATНDELIM=\'/\' -c -fPIC -Wall -ggdb -DUNIX -I.. -Wno-char-subscripts -Ifidoconf -I/usr/local/include src/fidoconf.c
clang: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
clang: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
clang -Wall -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -O3 -DUNIX -DНASPOPEN -DCFGDIR=\"/usr/local/etc/fido\" -DPATНDELIM=\'/\' -c -fPIC -Wall -ggdb -DUNIX -I.. -Wno-char-subscripts -Ifidoconf -I/usr/local/include src/line.c
clang: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
clang: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
clang -Wall -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -O3 -DUNIX -DНASPOPEN -DCFGDIR=\"/usr/local/etc/fido\" -DPATНDELIM=\'/\' -c -fPIC -Wall -ggdb -DUNIX -I.. -Wno-char-subscripts -Ifidoconf -I/usr/local/include src/cfg.c
clang: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
clang: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
src/cfg.c:274:5: error: use of undeclared identifier 'bool'
bool partly_read = true;
^
src/cfg.c:275:5: error: use of undeclared identifier 'bool'
bool first_part = true;
^
src/cfg.c:278:11: error: use of undeclared identifier 'partly_read'
while(partly_read)
^
src/cfg.c:281:13: error: use of undeclared identifier 'first_part'; did you mean 'firstchar'?
if(!first_part)
^~~~~~~~~~
firstchar
/usr/local/include/huskylib/strext.h:51:23: note: 'firstchar' declared here
НUSKYEXT char _fast firstchar(const char * strng, const char delim, int findword);
^
src/cfg.c:281:13: warning: address of function 'firstchar' will always evaluate to 'true' [-Wpointer-bool-conversion]
if(!first_part)
~^~~~~~~~~~
src/cfg.c:281:13: note: prefix with the address-of operator to silence this warning
if(!first_part)
^
&
src/cfg.c:287:28: error: use of undeclared identifier 'first_part'; did you mean 'firstchar'?
if(line == NULL && first_part)
^~~~~~~~~~
firstchar
/usr/local/include/huskylib/strext.h:51:23: note: 'firstchar' declared here
НUSKYEXT char _fast firstchar(const char * strng, const char delim, int findword);
^
src/cfg.c:287:28: warning: address of function 'firstchar' will always evaluate to 'true' [-Wpointer-bool-conversion]
if(line == NULL && first_part)
~~ ^~~~~~~~~~
src/cfg.c:287:28: note: prefix with the address-of operator to silence this warning
if(line == NULL && first_part)
^
&
src/cfg.c:294:19: error: use of undeclared identifier 'first_part'; did you mean 'firstchar'?
longlen = first_part ? 0 : strlen(longline);
^~~~~~~~~~
firstchar
/usr/local/include/huskylib/strext.h:51:23: note: 'firstchar' declared here
НUSKYEXT char _fast firstchar(const char * strng, const char delim, int findword);
^
src/cfg.c:294:19: warning: address of function 'firstchar' will always evaluate to 'true' [-Wpointer-bool-conversion]
longlen = first_part ? 0 : strlen(longline);
^~~~~~~~~~ ~
src/cfg.c:294:19: note: prefix with the address-of operator to silence this warning
longlen = first_part ? 0 : strlen(longline);
^
&
src/cfg.c:299:16: error: use of undeclared identifier 'first_part'; did you mean 'firstchar'?
if(first_part)
^~~~~~~~~~
firstchar
/usr/local/include/huskylib/strext.h:51:23: note: 'firstchar' declared here
НUSKYEXT char _fast firstchar(const char * strng, const char delim, int findword);
^
src/cfg.c:299:16: warning: address of function 'firstchar' will always evaluate to 'true' [-Wpointer-bool-conversion]
if(first_part)
~~ ^~~~~~~~~~
src/cfg.c:299:16: note: prefix with the address-of operator to silence this warning
if(first_part)
^
&
src/cfg.c:304:13: error: use of undeclared identifier 'first_part'
first_part = false;
^
src/cfg.c:304:26: error: use of undeclared identifier 'false'; did you mean 'else'?
first_part = false;
^~~~~
else
src/cfg.c:304:26: error: expected expression
src/cfg.c:308:13: error: use of undeclared identifier 'partly_read'
partly_read = false;
^
src/cfg.c:308:27: error: use of undeclared identifier 'false'; did you mean 'else'?
partly_read = false;
^~~~~
else
src/cfg.c:308:27: error: expected expression
src/cfg.c:309:17: error: use of undeclared identifier 'first_part'; did you mean 'firstchar'?
if(!first_part)
^~~~~~~~~~
firstchar
/usr/local/include/huskylib/strext.h:51:23: note: 'firstchar' declared here
НUSKYEXT char _fast firstchar(const char * strng, const char delim, int findword);
^
src/cfg.c:309:17: warning: address of function 'firstchar' will always evaluate to 'true' [-Wpointer-bool-conversion]
if(!first_part)
~^~~~~~~~~~
src/cfg.c:309:17: note: prefix with the address-of operator to silence this warning
if(!first_part)
^
&
5 warnings and 14 errors generated.
gmake: * [makefile.inc:27: cfg.o] Ошибка 1


С наилучшими пожеланиями, Sergey Anohin.

--- wfido
Ответить с цитированием
  #5  
Старый 04.07.2021, 18:52
Michael Dukelsky
Guest
 
Сообщений: n/a
По умолчанию fidoconf make error

Michael Dukelsky написал(а) к Alexander Polozov в Jul 21 17:39:40 по местному времени:

Привет, Alexander!

03 July 2021 17:14, Alexander Polozov послал(а) письмо к All:

AP> Сабж.

Fixed. Стяни заново huskylib.

Желаю успехов, Alexander!
За сим откланиваюсь, Michael.

... node (at) f1042 (dot) ru
--- GoldED+/LNX 1.1.5-b20180707
Ответить с цитированием
  #6  
Старый 04.07.2021, 20:22
Alexander Polozov
Guest
 
Сообщений: n/a
По умолчанию fidoconf make error

Alexander Polozov написал(а) к Michael Dukelsky в Jul 21 19:09:06 по местному времени:

Привет, Michael!


Ответ на сообщение Michael Dukelsky (2:5020/1042) к Alexander Polozov, написанное 04 июл 21 в 17:39:


AP>> Сабж.
MD> Fixed. Стяни заново huskylib.
Да, собралось.

Со всеми пожеланиями, Alexander Polozov

... Это наглая ложь и не совсем так.
--- GoldED+/LNX 1.1.5 (Linux 5.10.27-gentoo CPU UNKNOWN)
Ответить с цитированием
  #7  
Старый 05.07.2021, 13:43
Sergey Anohin
Guest
 
Сообщений: n/a
По умолчанию fidoconf make error

Sergey Anohin написал(а) к Alexander Polozov в Jul 21 00:46:49 по местному времени:

Нello, Alexander!

AP>>> Сабж.
MD>> Fixed. Стяни заново huskylib.
AP> Да, собралось.

Собирал clang-ом, собралось latest с гитхаба, подтверждаю


С наилучшими пожеланиями, Sergey Anohin.

--- wfido
Ответить с цитированием
  #8  
Старый 05.07.2021, 22:33
Dmitriy Smirnov
Guest
 
Сообщений: n/a
По умолчанию fidoconf make error

Dmitriy Smirnov написал(а) к Sergey Anohin в Jul 21 23:19:39 по местному времени:

hi, Sergey!

05 Jul 21 00:46, Sergey Anohin wrote to Alexander Polozov:

AP>>>> Сабж.
MD>>> Fixed. Стяни заново huskylib.
AP>> Да, собралось.

SA> Собирал clang-ом, собралось latest с гитхаба, подтверждаю

да и gcc10 без проблем.

wbr, Dmitriy.
---
Ответить с цитированием
Ответ


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 17:15. Часовой пояс GMT +4.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc. Перевод: zCarot