Public bug reported:

Binary package hint: gcc-4.2

Apport tells me to report this, so I do!  I have to say I don't care -
it gives me enough error messages before crashing, I'm sure I can fix
them and get it to compile (or work out why what I'm trying to do is
impossible :).

gateImpl.cpp:143: error: template definition of non-template 
‘typename<unnamed>::NamedLogic<LogicImpl, name_init>::Factory 
<unnamed>::NamedLogic<LogicImpl, name_init>::factory’
gateImpl.cpp:287: error: ‘<unnamed>::Gates::BUFFER::factory_fwd’ is not a valid 
template argument because ‘<unnamed>::Gates::BUFFER::factory_fwd’ is a 
variable, not the address of a variable
gateImpl.cpp:287: error: invalid type in declaration before ‘;’ token
gateImpl.cpp:291: error: expected initializer before ‘factory’
gateImpl.cpp:292: error: ‘factory’ was not declared in this scope
gateImpl.cpp:297: error: redefinition of ‘class<unnamed>::Gates::BUFFER::Impl’
gateImpl.cpp:281: error: previous definition of 
‘class<unnamed>::Gates::BUFFER::Impl’
gateImpl.cpp:303: error: redefinition of ‘const char 
<unnamed>::Gates::BUFFER::name []’
gateImpl.cpp:289: error: ‘const char <unnamed>::Gates::BUFFER::name [4]’ 
previously defined here
gateImpl.cpp:305: error: conflicting declaration ‘typedef 
class<unnamed>::Gates::NamedGate<<unnamed>::Gates::BUFFER::Impl, ((const 
char*)(&<unnamed>::Gates::BUFFER::name))> <unnamed>::Gates::BUFFER::Gate’
gateImpl.cpp:287: error: ‘<unnamed>::Gates::BUFFER::Gate’ has a previous 
declaration as ‘typedef int <unnamed>::Gates::BUFFER::Gate’
gateImpl.cpp:306: error: expected initializer before ‘&’ token
gateImpl.cpp:250: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/cc8rgSdf.out file, please attach this to 
your bugreport.
make: *** [gateImpl.o] Error 1

ProblemType: Crash
Architecture: amd64
Date: Mon Nov 24 13:56:22 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/lib/gcc/x86_64-linux-gnu/4.2.4/cc1plus
Package: g++-4.2 4.2.4-1ubuntu3
PackageArchitecture: amd64
SourcePackage: gcc-4.2
Uname: Linux 2.6.28-rc6-00007-ged31348 x86_64

** Affects: gcc-4.2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-crash

-- 
g++ crash after template errors
https://bugs.launchpad.net/bugs/301674
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to