voider@voidlap ~/ecole/ift585/lab04 $ g++ main.cc rpc.cc -o client In file included from main.cc:2: rpc.h: In function `T RPC::Call(const std::string&, const RPC::RPCParameter&)': rpc.h:29: internal compiler error: in resolve_overloaded_unification, at cp/pt.c:9317 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /tmp/ccCvho3J.out file, please attach this to your bugreport. In file included from rpc.cc:1: rpc.h: In function `T RPC::Call(const std::string&, const RPC::RPCParameter&)': rpc.h:29: internal compiler error: in resolve_overloaded_unification, at cp/pt.c:9317 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /tmp/ccd9NHah.out file, please attach this to your bugreport. The content of /tmp/ccd9NHah.out is at http://codepoet.info/pub/gcc/gcc_error.txt (warning: over 29000 lines of preprocessed stuff) You can also the get the complete source, aswell as Makefile at http://codepoet.info/pub/gcc GCC version: gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. (It's my first bug report, If you need further information, I'll be glad to help) Thanks!
Ok, I just found there was an error in my code. I put the working code in http://codepoet.info/pub/gcc/new_code/ The bug is still valid, as I don't think gcc must do a compiler internal error on that one :)
Well, fix your code...
(In reply to comment #2) > Well, fix your code... > It's what I did. I think the bug is still important anyway. Gcc should not do an "internal compiler error" when it is asked to compile confusing/wrong code. Is'nt?