Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #11698 > unrolled thread

error: void value not ignored as it ought to be bool type(std::string_view s) { return type(s.data(), s.length()); }

Started byHongyi Zhao <hongyi.zhao@gmail.com>
First post2021-01-01 05:02 -0800
Last post2021-01-04 07:35 -0800
Articles 2 — 2 participants

Back to article view | Back to comp.programming


Contents

  error: void value not ignored as it ought to be bool type(std::string_view s) { return type(s.data(), s.length()); } Hongyi Zhao <hongyi.zhao@gmail.com> - 2021-01-01 05:02 -0800
    Re: error: void value not ignored as it ought to be bool type(std::string_view s) { return type(s.data(), s.length()); } Mina Mina <iiiiiiiiiiiia@bestmail.us> - 2021-01-04 07:35 -0800

#11698 — error: void value not ignored as it ought to be bool type(std::string_view s) { return type(s.data(), s.length()); }

FromHongyi Zhao <hongyi.zhao@gmail.com>
Date2021-01-01 05:02 -0800
Subjecterror: void value not ignored as it ought to be bool type(std::string_view s) { return type(s.data(), s.length()); }
Message-ID<a575ac00-e20c-4502-aaf2-ef34b77c565cn@googlegroups.com>
On Ubuntu 20.04, I try to compile the git master version of libime <https://github.com/fcitx/libime> but failed. See following for more detailed info:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal

$ git clone https://github.com/fcitx/libime.git libime.git
$ cd libime.git
$ mkdir build && cd $_
$ cmake ..
$ env all_proxy=http://127.0.0.1:8080 make -j 44
[ 28%] Built target kenlm
[ 28%] Building CXX object src/libime/core/CMakeFiles/IMECore.dir/inputbuffer.cpp.o
In file included from /home/werner/Public/repo/github.com/fcitx/libime.git/src/libime/core/inputbuffer.cpp:6:
/home/werner/Public/repo/github.com/fcitx/libime.git/src/libime/core/inputbuffer.h: In member function ‘bool libime::InputBuffer::type(std::string_view)’:
/home/werner/Public/repo/github.com/fcitx/libime.git/src/libime/core/inputbuffer.h:49:48: error: void value not ignored as it ought to be
49 | bool type(std::string_view s) { return type(s.data(), s.length()); }
| ~~~~^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/libime/core/CMakeFiles/IMECore.dir/build.make:102: src/libime/core/CMakeFiles/IMECore.dir/inputbuffer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:816: src/libime/core/CMakeFiles/IMECore.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Any hints for solving this problem?

Regards,
HY

[toc] | [next] | [standalone]


#11720

FromMina Mina <iiiiiiiiiiiia@bestmail.us>
Date2021-01-04 07:35 -0800
Message-ID<15a992fc-f1cd-4bf5-85dd-c2c84f3df99en@googlegroups.com>
In reply to#11698
Hongyi Zhao kirjutas reede, 1. jaanuar 2021 kl 15:02:36 UTC+2:
> On Ubuntu 20.04, I try to compile the git master version of libime <https://github.com/fcitx/libime> but failed. See following for more detailed info: 
> 
> $ lsb_release -a 
> No LSB modules are available. 
> Distributor ID: Ubuntu 
> Description: Ubuntu 20.04 LTS 
> Release: 20.04 
> Codename: focal 
> 
> $ git clone https://github.com/fcitx/libime.git libime.git 
> $ cd libime.git 
> $ mkdir build && cd $_ 
> $ cmake .. 
> $ env all_proxy=http://127.0.0.1:8080 make -j 44 
> [ 28%] Built target kenlm 
> [ 28%] Building CXX object src/libime/core/CMakeFiles/IMECore.dir/inputbuffer.cpp.o 
> In file included from /home/werner/Public/repo/github.com/fcitx/libime.git/src/libime/core/inputbuffer.cpp:6: 
> /home/werner/Public/repo/github.com/fcitx/libime.git/src/libime/core/inputbuffer.h: In member function ‘bool libime::InputBuffer::type(std::string_view)’: 
> /home/werner/Public/repo/github.com/fcitx/libime.git/src/libime/core/inputbuffer.h:49:48: error: void value not ignored as it ought to be 
> 49 | bool type(std::string_view s) { return type(s.data(), s.length()); } 
> | ~~~~^~~~~~~~~~~~~~~~~~~~~~ 
> make[2]: *** [src/libime/core/CMakeFiles/IMECore.dir/build.make:102: src/libime/core/CMakeFiles/IMECore.dir/inputbuffer.cpp.o] Error 1 
> make[1]: *** [CMakeFiles/Makefile2:816: src/libime/core/CMakeFiles/IMECore.dir/all] Error 2 
> make: *** [Makefile:141: all] Error 2 
> 
> Any hints for solving this problem? 
> 
> Regards, 
> HY


Hello Hongyi Zhao.


Do You want to be friends ?
If You do, then sms me.


A man, who uses a computer and who is having seat under his butt. 
E-mail: iiiiiiiiiiiia bestmail us
Phone numbers:
Smart watch phone: 372(country code) 57865715
Tab ( for only sms-ing and for Duo face to face talk): 372(country code) 57865442

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web