This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19208] [3.4/4.0 Regression] Spurious error about variably modified type
- From: "ssolie at telus dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2005 23:10:32 -0000
- Subject: [Bug c++/19208] [3.4/4.0 Regression] Spurious error about variably modified type
- References: <20041230131822.19208.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ssolie at telus dot net 2005-01-15 23:10 -------
Please add 3.4.2 to known to fail list.
7.Code:test> g++ -c bound_member.cpp
bound_member.cpp: In instantiation of `bound_member_action<int>':
bound_member.cpp:10: instantiated from here
bound_member.cpp:8: error: `char[(ffff<int>::value ? 1 : 2)]' is a variably modified type
bound_member.cpp:8: error: trying to instantiate `template<class C> struct if_t'
bound_member.cpp:10: error: no matching function for call to `bound_member_action<int>::bound_member_action(int, int)'
bound_member.cpp:5: note: candidates are: bound_member_action<int>::bound_member_action(const bound_member_action<int>&)
g++ (GCC) 3.4.2 (Amiga, Inc. build 20040910)
Encountered when building Boost Spirit/Phoenix library test suite.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ssolie at telus dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19208