Describe the bug
variable 'exp' gives not declared error during compile
Flavor(please complete the following information):
Select your flavor:
[x] ibus-rime
[ ] fcitx-rime
[ ] fcitx5-rime
[ ] Squirrel
[ ] Trime
[ ] Weasel
Package:
OS: Manjaro ARM xfce
Version: rolling release
compiled from source
Hardware:
Device: Pine64 Pinebook Pro
CPU: Rockchip rk3399
RAM: 4GB
Additional context
Add any other context about the problem here.
/home/ken/ibus-rime/librime/src/rime/gear/script_translator.cc:490:23: error: ‘exp’ was not declared in this scope
490 | cand->set_quality(exp(entry->weight) +
| ^~~
/home/ken/ibus-rime/librime/src/rime/gear/script_translator.cc:504:23: error: ‘exp’ was not declared in this scope
504 | cand->set_quality(exp(entry->weight) +
| ^~~
Describe the bug variable 'exp' gives not declared error during compile
Flavor(please complete the following information): Select your flavor:
Package:
Hardware:
Additional context Add any other context about the problem here. /home/ken/ibus-rime/librime/src/rime/gear/script_translator.cc:490:23: error: ‘exp’ was not declared in this scope 490 | cand->set_quality(exp(entry->weight) + | ^~~ /home/ken/ibus-rime/librime/src/rime/gear/script_translator.cc:504:23: error: ‘exp’ was not declared in this scope 504 | cand->set_quality(exp(entry->weight) + | ^~~