Re: G++-3.x bug? user specified operator== not found/used by find

2002-06-17 Thread Martin v. Loewis
Christof Petig <[EMAIL PROTECTED]> writes: > Perhaps the namepace of the first argument determines the namespace > searched for the operator ? All arguments determine the namespaces search for functions. This is called Koenig lookup (after Andrew Koenig, inventor of this mechanism), or argument-d

Re: G++-3.x bug? user specified operator== not found/used by find

2002-06-17 Thread Phil Edwards
On Mon, Jun 17, 2002 at 04:37:11PM +0200, Christof Petig wrote: > Christof Petig wrote: > > The following code does not compile with g++-3.0 and g++-3.1, but it > > does with g++-2.95.4. What is wrong (std:: is not missing!)? > > Oh, std:: was missing - in a way ... > > std::find only looks in n

Re: G++-3.x bug? user specified operator== not found/used by find

2002-06-17 Thread Christof Petig
Christof Petig wrote: The following code does not compile with g++-3.0 and g++-3.1, but it does with g++-2.95.4. What is wrong (std:: is not missing!)? Oh, std:: was missing - in a way ... std::find only looks in namespace std:: for an operator==, if I specify it inside namespace std { ... } , it

ICE when declaring a function already defined as a friend method of a template class

2002-06-17 Thread nicolas . tisserand
>Submitter-Id: net >Originator: >Organization: LRDE >Confidential: no >Synopsis: ICE when declaring a function already defined as a friend method of >a template class >Severity: serious >Priority: medium >Category: c++ >Class: ice-on-legal-code >Release: 3.1.1 20020606 (Debian prerel

ICE when declaring a function already defined as a friend method of a template class

2002-06-17 Thread nicolas . tisserand
>Submitter-Id: net >Originator: >Organization: LRDE >Confidential: no >Synopsis: ICE when declaring a function already defined as a friend method of >a template class >Severity: serious >Priority: medium >Category: c++ >Class: ice-on-legal-code >Release: 3.1.1 20020606 (Debian prerel

Bug#150142: Patch for gcj -classpath problem

2002-06-17 Thread Ben Burton
tags 150142 + patch thanks Hi. Below is a small patch that seems to fix the problem. --- /usr/bin/gcj-wrapper-3.1Tue Jun 4 01:21:17 2002 +++ gcj-wrapper-3.1 Mon Jun 17 18:20:27 2002 @@ -11,7 +11,12 @@ fi case "$arg" in --classpath|-encoding|-bootclasspath|-extdirs) +

Processed: Patch for gcj -classpath problem

2002-06-17 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: > tags 150142 + patch Bug#150142: gcj-3.1: gcj-wrapper-3.1 problem with -classpath Tags added: patch > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs datab

G++-3.x bug? user specified operator== not found/used by find

2002-06-17 Thread Christof Petig
The following code does not compile with g++-3.0 and g++-3.1, but it does with g++-2.95.4. What is wrong (std:: is not missing!)? #include #include #include typedef std::string s_t; typedef std::pair pair_t; bool operator==(const pair_t &a,const s_t &b) { return a.first==b; } int main() { st

unsubscribe

2002-06-17 Thread Juha . Aaltonen
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

[no subject]

2002-06-17 Thread Juha . Aaltonen
unsubscribe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]