To: djgpp AT delorie DOT com Date: Sun, 05 Apr 1998 13:02:49 -0700 From: "Sed Johnson" Message-ID: Mime-Version: 1.0 Subject: Does anyone know why... Organization: MailExcite (http://www.mailexcite.com:80) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk ...this is not working? I recently upgraded from DJGPP 2.00 to 2.01, I upgraded from GPP/LGPP272 to GPP/LGPP280, etc. Under my old installation, the program I am working on (which uses templates and has Friend members in different classes) compiled and executed perfectly. This was with using the #pragma interface method and also linking with -fexternal-templates. Since I've upgraded DJGPP though, I get several errors on compilation. I searched through the FAQ and the inf files and could not find anything that I was doing wrong. Here is a bit of the code that is causing errors: ...... template class Node { friend Iter; friend List; private: ...... Iter and List are classes which are described after this class. Here are some errors I get: ........... `v_²' is neither function nor method; cannot be declared friend (corresponds to friend Iter) `ñ!' is neither function nor method; cannot be declared friend (corresponds to friend List) ........... There are also a few other errors I get too, but I think if someone could help me understand why I'm getting errors now, after it worked perfectly before, I can figure out the rest. Any ideas why this code is not working, please? Thank you. Free web-based email, Forever, From anywhere! http://www.mailexcite.com