Bug#148603: gcc: crash when template declared after use

2002-05-30 Thread Glenn Maynard
Package: gcc Version: 2:2.95.4-15 Severity: normal struct T { void A() { B("x"); } template void B(const T &n) { } }; 06:26pm [EMAIL PROTECTED]/5 [~/prob] g++ -g -Wall oops.cc oops.cc: In method `void T::B(const char (&)[2])

Bug#391334: error: no matching function for call

2006-10-05 Thread Glenn Maynard
Package: g++-4.1 Version: 4.1.1-15 Severity: normal With attached code, t.cc: In member function ‘void ThemeMetric::Read() [with T = GoalType]’: t.cc:32: instantiated from here t.cc:22: error: no matching function for call to ‘FromStack(GoalType&)’ t.cc:3: note: candidates are: void LuaHelpers:

Bug#228645: call of overloaded `llabs(int)' is ambiguous

2005-05-21 Thread Glenn Maynard
reopen 228645 thanks The bug is valid, and reopened upstream. -- Glenn Maynard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#212260: g++-3.3: "virtual functions but non-virtual destructor" warning incomplete

2003-09-22 Thread Glenn Maynard
Package: g++-3.3 Version: 1:3.3.2-0pre4 Severity: wishlist This code: #include struct foo { ~foo() { } virtual void bar() { } }; struct fum: public foo { virtual ~fum() { printf("x\n"); } }; main() { foo *x = new fum; delete x; } generates: blah.cc:2: warning: `struct

Bug#91846: g++: /usr/doc/g++-2.95/README.C++ mentions docs but not package

2001-03-26 Thread Glenn Maynard
Package: g++ Version: 1:2.95.3-5 Severity: normal /usr/doc/g++-2.95/README.C++ says STL docs are in /usr/doc/stl-manual; it should also mention that it requires the stl-manual package. -- System Information Debian Release: testing/unstable Kernel Version: Linux zewt.org 2.4.2-XFS #4 SMP Thu Feb 2

Bug#228645: libstdc++5-3.3-dev: call of overloaded `llabs(int)' is ambiguous

2004-01-19 Thread Glenn Maynard
Package: libstdc++5-3.3-dev Version: 1:3.3.3-0pre2 Severity: normal --- #include #include using namespace std; int foo() { return llabs(1); } --- g++-3.3 blah.cc -c blah.cc: In function `int foo()': blah.cc:6: error: call of overloaded `llabs(int)' is ambiguous /usr/include/stdlib.h:754: erro

Bug#228645: libstdc++5-3.3-dev: call of overloaded `llabs(int)' is ambiguous

2004-01-20 Thread Glenn Maynard
it, and it's impossible to avoid math.h (as library headers often pull it in.) This doesn't happen with other functions in cstdlib, such as abs(). Comments in /usr/include/c++/3.3/cstdlib indicate that it's intended to work ("// Get rid of those macros defined in ..."). -- Glenn Maynard