-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
3.0.8: build fails with doctest 2.4.9 #2673
Comments
egads! it looks like this has to do with doctest. i'll get on it asap. |
hrmmm, not running into this on debian unstable. what environment and g++ version? |
I'm using gcc from Fedora rawhide gcc-12.1.1-3.fc37.x86_64 |
thanks; i'll bring up my fedora VM later today and see what's what. |
Any update? 🤔 |
same error on arch, gcc 12.2.0 building worked after commenting out these lines:
|
i don't want to say that this is a bug ion doctest, but i'm not sure exactly what's up. i fixed one problem. i hope to have this resolved today. thanks for your patience! |
so all the failure points involve function pointers, and we break in this part of doctest: /usr/include/doctest/doctest.h:1046:28: required from ‘static doctest::String doctest::detail::StringMakerBase<true>::convert(const T&) [with T = void (*)(nctab*, ncplane*, void*)]’
/usr/include/doctest/doctest.h:1079:35: required from ‘doctest::String doctest::toString(const T&) [with T = void (*)(nctab*, ncplane*, void*); typename detail::types::enable_if<(! detail::types::is_enum<T>::value), bool>::type <anonymous> = true]’
/usr/include/doctest/doctest.h:1318:49: required from ‘doctest::String doctest::detail::stringifyBinaryExpr(const L&, const char*, const R&) [with L = void(nctab*, ncplane*, void*); R = void (*)(nctab*, ncplane*, void*)]’ so it's trying to turn the expression into a string to show when it fails, and it's running into some problem: /usr/include/doctest/doctest.h:1485:9: required from ‘decltype (((void)((declval<L>() == declval<R>())), (doctest::detail::Result)(<brace-enclosed initializer list>()))) doctest::detail::Expression_lhs<L>::operator==(R&&) [with R = void (*)(nctab*, ncplane*, void*); L = void (&)(nctab*, ncplane*, void*); decltype (((void)((declval<L>() == declval<R>())), (doctest::detail::Result)(<brace-enclosed initializer list>()))) = doctest::detail::Result]’ @Saalvage, would you mind taking a quick look at this? it started breaking with doctest 2.4.9. it might very well be my misuse of the library, but maybe you'll know quickly. |
if i manually cast things to
|
i think this might be doctest/doctest#686, and if so, we're just gonna need to wait for 2.4.10, and mark that as a dep, ugh. |
Yep, seems like an instance of that issue. Sorry for the inconvenience, looking to get 2.4.10 out of the door next week! |
these things happen. thanks for the confirmation. i'll go ahead and exclude 2.4.9 in the CMake config. |
i'm going to go ahead and put in a workaround to get things compiling again. |
alright, imma cut a 3.0.9 to get us past this bullshit |
Looks like recent gcc changes in gcc used in fedora rawhide are causing fails
The text was updated successfully, but these errors were encountered: