-
-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile error in kis_external.cc with make_pair
#547
Comments
rjhornsby
changed the title
compile error kis_external.cc with
compile error in kis_external.cc with Dec 17, 2024
make_pair
make_pair
This has been addressed in the git versions for a long time.
it will be included in the next release.
…-m
On Monday, December 16th, 2024 at 10:04 PM, rjhornsby ***@***.***> wrote:
Getting a compile error that seems a little similar to [#301](#301).
OS: Debian 12.8, ARM running in a Parallels VM
kismet version (from version.c): 2024.12.0, git commit version [a5c7781](a5c7781).
compiler: g++ (?) 12.2.0
Sorry I don't understand c++ better to provide more useful insight. As noted in the follow up message in [#301](#301), this looks like almost a warning until the compiler bails out.
g++ -std=gnu++20 -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -g -O2 -O3 -DKS_STR_ENCODING_NONE -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -c kis_external.cc -o kis_external.cc.o
In file included from /usr/include/c++/12/bits/stl_algobase.h:64,
from /usr/include/c++/12/memory:63,
from kis_external.cc:19:
/usr/include/c++/12/bits/stl_pair.h: In instantiation of ‘constexpr std::pair<typename std::__strip_reference_wrapper<typename std::decay<_Tp>::type>::__type, typename std::__strip_reference_wrapper<typename std::decay<_Tp2>::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper<typename decay<_Tp2>::type>::__type = double; typename decay<_Tp2>::type = double; typename __strip_reference_wrapper<typename decay<_Tp>::type>::__type = double; typename decay<_Tp>::type = double]’:
trackedelement.h:1799:30: required from ‘void tracker_element_core_pair<T1, T2, TT>::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’
trackedlocation.h:75:22: required from here
/usr/include/c++/12/bits/stl_pair.h:741:5: note: parameter passing for argument of type ‘std::pair<double, double>’ when C++17 is enabled changed to match C++14 in GCC 10.1
741 | make_pair(_T1&& __x, _T2&& __y)
| ^~~~~~~~~
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [Makefile:914: kis_external.cc.o] Error 1
—
Reply to this email directly, [view it on GitHub](#547), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AFKJYY5FC36E5SAC7QNF25D2F6IEFAVCNFSM6AAAAABTXOQSGKVHI2DSMVQWIX3LMV43ASLTON2WKOZSG42DGOBRHAZTKNY).
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting a compile error that seems a little similar to #301.
OS: Debian 12.8, ARM running in a Parallels VM
kismet version (from version.c): 2024.12.0, git commit version a5c7781.
compiler: g++ (?) 12.2.0
Sorry I don't understand c++ better to provide more useful insight. As noted in the follow up message in #301, this looks like almost a warning until the compiler bails out.
The text was updated successfully, but these errors were encountered: