public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "v dot haisman at sh dot cvut dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/13957] New: GCC 3.4 rejects some template heavy code that 3.3.1 accepts Date: Sun, 01 Feb 2004 10:36:00 -0000 [thread overview] Message-ID: <20040201103616.13957.v.haisman@sh.cvut.cz> (raw) I get this error for attached source. The line that the error message mentions seems to be correct to my best knowledge. GCC 3.3.1 accepts the code. This code is one of exemples of functional programming library for C++. http://www.cc.gatech.edu/~yannis/fc++/download.html wilx@logout:::~/tmp/fc++/FC++-clients.1.5> g++ -save-temps -I ../FC++.1.5 -o isort isort.cc ../FC++.1.5/list.h: In member function `fcpp::impl::OddList<T> fcpp::impl::ConsHelp<T, F, fcpp::impl::List<T> >::operator()(const T&, const F&) const [with T = int, F = fcpp::Full0<fcpp::impl::binder1and2of2<Insert, int, fcpp::impl::List<int> > >]': ../FC++.1.5/list.h:592: instantiated from `fcpp::impl::OddList<T> fcpp::impl::XCons::operator()(const T&, const F&) const [with T = int, F = fcpp::Full0<fcpp::impl::binder1and2of2<Insert, int, fcpp::impl::List<int> > >]' ../FC++.1.5/curry.h:188: instantiated from `static R fcpp::impl::Curryable2Helper<R, F, X, Y>::go(const F&, const X&, const Y&) [with R = fcpp::impl::OddList<int>, F = fcpp::impl::XCons, X = int, Y = fcpp::Full0<fcpp::impl::binder1and2of2<Insert, int, fcpp::impl::List<int> > >]' ../FC++.1.5/full.h:115: instantiated from `typename fcpp::Full2<F>::Sig<X, Y>::ResultType fcpp::Full2<F>::operator()(const X&, const Y&) const [with X = int, Y = fcpp::Full0<fcpp::impl::binder1and2of2<Insert, int, fcpp::impl::List<int> > >, F = fcpp::impl::XCons]' isort.cc:15: instantiated from here ../FC++.1.5/list.h:564: error: `fcpp::impl::Cache<T>::CvtFxn' names a type, but a non-type is expected -- Summary: GCC 3.4 rejects some template heavy code that 3.3.1 accepts Product: gcc Version: 3.4.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: v dot haisman at sh dot cvut dot cz CC: gcc-bugs at gcc dot gnu dot org,v dot haisman at sh dot cvut dot cz GCC build triplet: i386-unknown-freebsd4.9 GCC host triplet: i386-unknown-freebsd4.9 GCC target triplet: i386-unknown-freebsd4.9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13957
next reply other threads:[~2004-02-01 10:36 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-02-01 10:36 v dot haisman at sh dot cvut dot cz [this message] 2004-02-01 10:38 ` [Bug c++/13957] " v dot haisman at sh dot cvut dot cz 2004-02-01 10:48 ` v dot haisman at sh dot cvut dot cz 2004-02-01 11:31 ` giovannibajo at libero dot it 2004-02-01 18:13 ` giovannibajo at libero dot it 2004-02-01 18:13 ` giovannibajo at libero dot it 2004-02-01 18:13 ` giovannibajo at libero dot it 2004-02-02 0:02 ` giovannibajo at libero dot it 2004-02-02 1:09 ` cvs-commit at gcc dot gnu dot org 2004-02-02 1:11 ` cvs-commit at gcc dot gnu dot org 2004-02-02 15:43 ` [Bug c++/13957] Insufficient diagnostic for dependent expression parsed as non-type but instantiated as type cvs-commit at gcc dot gnu dot org 2004-02-02 15:47 ` cvs-commit at gcc dot gnu dot org 2004-02-02 15:51 ` giovannibajo at libero dot it
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=20040201103616.13957.v.haisman@sh.cvut.cz \ --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).