/* -*-Mode: C++;-*- * PRCS - The Project Revision Control System * Copyright (C) 1997 Josh MacDonald * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * $Id: prcserror.tl 1.1.1.6.1.3.1.8 Sat, 30 Oct 1999 21:26:02 -0700 jmacd $ */ #if defined(PRCS_DEVEL) && defined(__GNUG__) template class NprError; template class NprError; template class NprError; template class NprError; template class NprError; #else template class PrError; #endif template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; template class PrError; #if defined(__GNUG__) && __GNUC__ >= 2 && __GNUC_MINOR__ < 8 #define WACK #else #define WACK <> #endif #define MkTemplate(errtype, tclass) \ template const errtype& \ operator<< WACK(tclass&, const errtype&) #if defined(PRCS_DEVEL) && defined(__GNUG__) MkTemplate(NprError, FILE*); MkTemplate(NprError, const char*); MkTemplate(NprError, int); MkTemplate(NprError, QuickElim*); MkTemplate(NprError, bool); #else MkTemplate(PrError, QuickElim*); #endif MkTemplate(PrError, ArgList*); MkTemplate(PrError, const char*); MkTemplate(PrError, FILE*); MkTemplate(PrError, short); MkTemplate(PrError, int); MkTemplate(PrError, long); MkTemplate(PrError, bool); MkTemplate(PrError, RepEntry*); MkTemplate(PrError, RcsDelta*); MkTemplate(PrError, ProjectVersionDataPtrArray*); MkTemplate(PrError, ProjectVersionData*); MkTemplate(PrError, RcsVersionData*); MkTemplate(PrError, RcsFileTable*); MkTemplate(PrError, char); MkTemplate(PrError, const Sexp*); MkTemplate(PrError, ProjectDescriptor*); MkTemplate(PrError, RebuildFile*); MkTemplate(PrError, OverwriteStatus); MkTemplate(PrError, Dstring*); MkTemplate(PrError, FileEntry*); MkTemplate(PrError, const PrcsAttrs*); #undef MkTemplate #define MkTemplate(tclass) \ template class omanip; \ template ostream& operator<< WACK(ostream&, const omanip&) MkTemplate(const char*); MkTemplate(CharAndStr); MkTemplate(int); MkTemplate(QueryOption); MkTemplate(FileLine); MkTemplate(BangFlag*); MkTemplate(FileTuple);