fixed gnu warnings

This commit is contained in:
Jeff Hill
2000-03-01 23:57:49 +00:00
parent 6952fcffc0
commit 9909fb1de1

View File

@@ -43,7 +43,7 @@ inline const char * sourceFileLocation<T>::fileName () const
#define throwWithLocation(parm) throwExceptionWithLocation (parm, __FILE__, __LINE__);
template <class T>
inline void throwExceptionWithLocation (T &parm, const char *pFileName, unsigned lineNo)
inline void throwExceptionWithLocation (const T &parm, const char *pFileName, unsigned lineNo)
{
# ifdef noExceptionsFromCXX
fprintf (stderr, "C++ exception in file=%s at line=%u, and no compiler support - cant proceed.\n",