Getting errors while compilining code with G++ 4.1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux