public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "carlosgalvezp at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109663] False positive? Converting from initializer list would use explicit constructor Date: Fri, 28 Apr 2023 09:57:56 +0000 [thread overview] Message-ID: <bug-109663-4-WMI10gEMG8@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-109663-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109663 --- Comment #1 from Carlos Galvez <carlosgalvezp at gmail dot com> --- I forgot to write the actual error I'm getting: <source>: In function 'int main()': <source>:11:41: error: converting to 'const MyVector' {aka 'const Eigen::Matrix<float, 4, 1>'} from initializer list would use explicit constructor 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = Eigen::Block<Eigen::Matrix<float, 4, 4>, 4, 1, true>; _Scalar = float; int _Rows = 4; int _Cols = 1; int _Options = 0; int _MaxRows = 4; int _MaxCols = 1]' 11 | MyVector const& my_col{matrix.col(0)}; | ^
next prev parent reply other threads:[~2023-04-28 9:57 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-04-28 9:56 [Bug c++/109663] New: " carlosgalvezp at gmail dot com 2023-04-28 9:57 ` carlosgalvezp at gmail dot com [this message] 2023-04-28 11:50 ` [Bug c++/109663] " carlosgalvezp at gmail dot com 2023-04-28 12:26 ` redi at gcc dot gnu.org 2023-04-28 14:04 ` carlosgalvezp at gmail dot com 2023-04-28 14:52 ` redi at gcc dot gnu.org 2023-04-28 14:56 ` redi at gcc dot gnu.org 2023-04-28 14:57 ` pinskia at gcc dot gnu.org 2023-04-28 14:58 ` carlosgalvezp at gmail dot com 2023-04-28 15:02 ` redi at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-109663-4-WMI10gEMG8@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).