fixed gnu warnings
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user