From owner-cvs-gnu Fri Mar 17 13:24:46 1995 Return-Path: cvs-gnu-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA11112 for cvs-gnu-outgoing; Fri, 17 Mar 1995 13:24:46 -0800 Received: (from nate@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA11094; Fri, 17 Mar 1995 13:24:34 -0800 Date: Fri, 17 Mar 1995 13:24:34 -0800 From: Nate Williams Message-Id: <199503172124.NAA11094@freefall.cdrom.com> To: CVS-commiters, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/cc/cc1plus pt.c Sender: cvs-gnu-owner@freebsd.org Precedence: bulk nate 95/03/17 13:24:31 Modified: gnu/usr.bin/cc/cc1plus pt.c Log: Gcc v2.6.3 currently has a problem with templates. Specifically, with default switches, template functions get EXTERNAL linkage in each file in which they occur, causing multiple definition errors during linking. The enclosed patch (from gnu.g++.bug) appears to solve the problem (I enclose the accompanying message as well). This patch fixes the multiply defined template functions bug which was introduced in 2.6.1. Submitted by: "Justin T. Gibbs" Obtained from: Jason Merrill at cygnus support on G++ mailing list