public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "conradsand.arma at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/53549] [4.7/4.8 Regression] g++ and armadillo 3.2.0, operator() is inaccessible
Date: Tue, 10 Jul 2012 07:22:00 -0000	[thread overview]
Message-ID: <bug-53549-4-h8b7In8cRv@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53549-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53549

--- Comment #10 from Conrad <conradsand.arma at gmail dot com> 2012-07-10 07:22:00 UTC ---
Created attachment 27769
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27769
arma323.ii.gz

Retested with gcc 4.7.1 and Armadillo 3.2.3 (latest upstream version).

This time a related but different bug in GCC is exposed.
arma323.ii.gz is the attached pre-processed source.

Code compiles fine on gcc 4.4.6 and clang 3.0.

/usr/local/bin/g++ arma323.cpp -o arma323 -O2 -Wall -pedantic

In file included from /usr/include/armadillo:141:0,
                 from arma323.cpp:2:
/usr/include/armadillo_bits/Mat_bones.hpp:545:26: error: no members matching
‘arma::Mat<eT>::operator=’ in ‘class arma::Mat<eT>’
/usr/include/armadillo_bits/Mat_bones.hpp:546:27: error: no members matching
‘arma::Mat<eT>::operator()’ in ‘class arma::Mat<eT>’
In file included from /usr/include/armadillo:142:0,
                 from arma323.cpp:2:
/usr/include/armadillo_bits/Col_bones.hpp:175:27: error: no members matching
‘arma::Col<eT>::operator()’ in ‘class arma::Col<eT>’
In file included from /usr/include/armadillo:143:0,
                 from arma323.cpp:2:
/usr/include/armadillo_bits/Row_bones.hpp:173:27: error: no members matching
‘arma::Row<eT>::operator()’ in ‘class arma::Row<eT>’


GCC 4.7.1 was compiled directly from sources, using GCC 4.7.0 on a Fedora 17
machine.

/usr/local/bin/g++ -v

Using built-in specs.
COLLECT_GCC=/usr/local/bin/g++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ./configure
Thread model: posix
gcc version 4.7.1 (GCC)


  parent reply	other threads:[~2012-07-10  7:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-01 10:11 [Bug c++/53549] New: " admin at toffyrn dot net
2012-06-01 10:30 ` [Bug c++/53549] " jakub at gcc dot gnu.org
2012-06-01 10:39 ` admin at toffyrn dot net
2012-06-01 13:28 ` conradsand.arma at gmail dot com
2012-06-12  9:00 ` conradsand.arma at gmail dot com
2012-06-12  9:19 ` [Bug c++/53549] [4.7/4.8 Regression] " rguenth at gcc dot gnu.org
2012-06-12  9:42 ` conradsand.arma at gmail dot com
2012-06-12 10:33 ` redi at gcc dot gnu.org
2012-06-12 10:39 ` redi at gcc dot gnu.org
2012-06-12 12:17 ` jakub at gcc dot gnu.org
2012-06-14 21:25 ` fabien at gcc dot gnu.org
2012-07-10  7:22 ` conradsand.arma at gmail dot com [this message]
2012-07-17 18:10 ` jason at gcc dot gnu.org
2012-07-17 19:29 ` jason at gcc dot gnu.org
2012-07-17 19:30 ` jason at gcc dot gnu.org
2012-07-17 19:30 ` jason at gcc dot gnu.org
2012-07-23  5:26 ` conradsand.arma at gmail dot com

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-53549-4-h8b7In8cRv@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: link
Be 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).