This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Getting errors while compilining code with G++ 4.1.2
- From: Sachin Jadhav <sachinjadhav25 at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 9 Jun 2008 22:43:01 -0700 (PDT)
- Subject: Getting errors while compilining code with G++ 4.1.2
Hi all,
I am using g++ (4.1.2) on Linux 5 (RHEL 5).
while compiling my c++ test code, i am getting following errors. and if i
compile same code on g++ 3.4.3, code compiles without any error.
testcase.cxx:11865: error: specialization of 'LinkVstr<X>::LinkVstr(_V_ACT*)
[with X = A::Sample01::Sample01InnerClass]' after instantiation
testcase.cxx:11865: error: invalid function declaration
I want to know, is there any g++ flag/option which can use to avoid this
error?
This is very important code, so we can not make changes in test code to
avoid this error. This is the reason for seaching alternative solution.
Thank you,
-- Sachin
--
View this message in context: http://www.nabble.com/Getting-errors-while-compilining-code-with-G%2B%2B-4.1.2-tp17748177p17748177.html
Sent from the gcc - Help mailing list archive at Nabble.com.