Getting errors while compilining code with G++ 4.1.2

Sachin Jadhav sachinjadhav25@hotmail.com
Tue Jun 10 05:43:00 GMT 2008


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.



More information about the Gcc-help mailing list