Changeset 508610a in git
- Timestamp:
- May 5, 2010, 2:22:46 PM (13 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 59ac5a4d63b49b2fbdb1547a4c4892cf9890f235
- Parents:
- 30e9c5fe8b6de1896b6bd3fd27b0cad11d6549a5
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-05-05 14:22:46+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:50:26+01:00
- Location:
- output
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
output/dError.c
r30e9c5f r508610a 14 14 #include <stdio.h> 15 15 #include "config.h" 16 //#include "distrib.h": for MAKE_DISTRIBUTION 17 #ifdef p_Procs_Static 18 #include "kversion.h" 19 #endif 16 #include "output.h" 20 17 #ifdef HAVE_CONFIG_H 21 18 #include <omalloc/omalloc.h> 22 #endif23 24 #ifdef __cplusplus25 extern "C"26 {27 19 #endif 28 20 … … 51 43 #else 52 44 fprintf(stderr, "\n// !!! YOU HAVE FOUND A BUG IN SINGULAR."); 53 fprintf(stderr, "// !!! Please, email the following output to singular@mathematik.uni-kl.de"); 54 fprintf(stderr, "// !!! Singular Version: " S_UNAME S_VERSION1 "\n"); 45 fprintf(stderr, "// !!! Please, email the input\n// and the following error message to singular@mathematik.uni-kl.de"); 55 46 vfprintf(stderr, fmt, ap); 56 47 #endif … … 58 49 } 59 50 60 61 #ifdef __cplusplus62 }63 #endif64 51 65 52 #endif -
output/output.h
r30e9c5f r508610a 107 107 char* SPrintEnd(); 108 108 109 /* error reporting */ 110 #ifdef __cplusplus 111 extern "C" 112 { 113 #endif 114 extern int dReportError(const char* fmt, ...); 115 #define dReportBug(s) \ 116 dReportError("Bug reported: %s\n occured at %s,%d\n", s, __FILE__, __LINE__) 117 #endif 118 119 // this is just a dummy procedure which is called after the error 120 // has been reported. Within the debugger, set a breakpoint on this 121 // proc. 122 extern void dErrorBreak(); 123 #ifdef __cplusplus 124 } 125 #endif 126 109 127 #ifndef HAVE_ASSUME 110 128 #define assume(x) ((void) 0)
Note: See TracChangeset
for help on using the changeset viewer.