tags 355997 +patch
thanks

Friend function declarations don't make the functions visible outside
the class at namespace scope; they need to be declared at namespace
scope to make that happen.

Ben.

--- compiler/tlib/symbol.hh~    2005-06-28 11:09:38.000000000 +0100
+++ compiler/tlib/symbol.hh     2006-03-09 12:14:41.504481062 +0000
@@ -46,6 +46,12 @@
 
 //--------------------------------SYMBOL-------------------------------------
 
+class Symbol;
+const Symbol*  symbol (const char* str);
+const Symbol*  symbol (const string& str);
+const Symbol*  unique (const char* str);
+const char*    name (const Symbol* sym);
+
 /**
  * Symbols are unique objects with a name stored in a hash table.
  */

-- 
Ben Hutchings
Design a system any fool can use, and only a fool will want to use it.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to