#include "singularconfig.h"
#include "misc/auxiliary.h"
Go to the source code of this file.
|
#define | SINGULAR_MAJOR_VERSION 4 |
|
#define | SINGULAR_MINOR_VERSION 3 |
|
#define | SINGULAR_SUB_VERSION 2 |
|
#define | SINGULAR_PATCHLEVEL 15 |
|
#define | S_ROOT_DIR "" |
|
#define | HAVE_GETTIMEOFDAY 1 |
|
#define | TIME_WITH_SYS_TIME 1 |
|
#define | HAVE_SYS_TIME_H 1 |
|
#define | TIMER_RESOLUTION 1 |
|
#define | SIQ 1 |
|
#define | FAST_AND_DIRTY |
|
#define | HAVE_EIGENVAL 1 |
|
#define | HAVE_GMS 1 |
|
#define | HAVE_SIMPLEIPC 1 |
|
#define | HAVE_PCV 1 |
|
#define | HAVE_UNITS |
|
#define | HAVE_LIBPARSER |
|
#define | HAVE_VSPACE 1 |
|
#define | PROFILER |
|
#define | HAVE_SPECTRUM 1 |
|
#define | SINGULAR_VERSION ((SINGULAR_MAJOR_VERSION*1000 + SINGULAR_MINOR_VERSION*100 + SINGULAR_SUB_VERSION*10)+SINGULAR_PATCHLEVEL) |
|
#define | YYLPDEBUG 1 |
|
#define | SEEK_END 2 |
|
#define | SEEK_SET 0 |
|
#define | LINKAGE |
|
#define | NO_INLINE |
|
#define | MDEBUG 0 |
|
#define | OM_TRACK 4 |
|
#define | OM_CHECK 1 |
|
#define | OM_KEEP 0 |
|
#define | OM_SING_KEEP 1000 |
|
#define | KDEBUG 0 |
|
#define | LDEBUG |
|
#define | RDEBUG |
|
#define | TEST |
|
#define | YYDEBUG 1 |
|
#define | assume_violation(s, f, l) dReportError("assume violation at %s:%d condition: %s", f,l,s) |
|
#define | assume(x) _assume(x, __FILE__, __LINE__) |
|
#define | r_assume(x) _r_assume(x, __FILE__, __LINE__) |
|
#define | _assume(x, f, l) |
|
#define | _r_assume(x, f, l) |
|
#define | __attribute__(x) /*NOTHING*/ |
|
#define | STRINGIFY(name) #name |
|
#define | EXPANDED_STRINGIFY(name) STRINGIFY(name) |
|
◆ __attribute__
◆ _assume
Value:
Definition at line 390 of file mod2.h.
390#define _assume(x, f, l) \
391do \
392{ \
393 if (! (x)) \
394 { \
395 assume_violation(#x, f, l); \
396 } \
397} \
398while (0)
◆ _r_assume
Value:
Definition at line 400 of file mod2.h.
400#define _r_assume(x, f, l) \
401do \
402{ \
403 if (! (x)) \
404 { \
405 assume_violation(#x, f, l); \
406 return 0; \
407 } \
408} \
409while (0)
◆ assume
◆ assume_violation
Definition at line 384 of file mod2.h.
384#define assume_violation(s,f,l) \
385 dReportError("assume violation at %s:%d condition: %s", f,l,s)
◆ EXPANDED_STRINGIFY
◆ FAST_AND_DIRTY
◆ HAVE_EIGENVAL
◆ HAVE_GETTIMEOFDAY
◆ HAVE_GMS
◆ HAVE_LIBPARSER
◆ HAVE_PCV
◆ HAVE_SIMPLEIPC
◆ HAVE_SPECTRUM
◆ HAVE_SYS_TIME_H
◆ HAVE_UNITS
◆ HAVE_VSPACE
◆ KDEBUG
◆ LDEBUG
◆ LINKAGE
◆ MDEBUG
◆ NO_INLINE
◆ OM_CHECK
◆ OM_KEEP
◆ OM_SING_KEEP
◆ OM_TRACK
◆ PROFILER
◆ r_assume
◆ RDEBUG
◆ S_ROOT_DIR
◆ SEEK_END
◆ SEEK_SET
◆ SINGULAR_MAJOR_VERSION
#define SINGULAR_MAJOR_VERSION 4 |
◆ SINGULAR_MINOR_VERSION
#define SINGULAR_MINOR_VERSION 3 |
◆ SINGULAR_PATCHLEVEL
#define SINGULAR_PATCHLEVEL 15 |
◆ SINGULAR_SUB_VERSION
#define SINGULAR_SUB_VERSION 2 |
◆ SINGULAR_VERSION
◆ SIQ
◆ STRINGIFY
◆ TEST
◆ TIME_WITH_SYS_TIME
◆ TIMER_RESOLUTION
◆ YYDEBUG
◆ YYLPDEBUG
◆ dErrorBreak()
◆ dReportError()
Definition at line 44 of file dError.cc.
45{
46#if 0
47#ifdef HAVE_EXECINFO_H
48#define SIZE 50
50#endif
51#endif
52
55#ifndef MAKE_DISTRIBUTION
58#if !defined(OM_NDEBUG)
59 #ifdef omPrintCurrentBackTraceMax
62 #endif
63#endif
64
65#if 0
66#ifdef HAVE_EXECINFO_H
69
70#ifndef HAVE_GCC_ABI_DEMANGLE
72#else
74
79 for (
int i = 0;
i <
ret;
i++)
80 {
82
84
85
89 ss[0] =
'(';
s =
ss + 1;
90
92
94 {
99 else
101
105 }
106
109 {
113 }
114
116 }
118#endif
119#endif
120
121#undef SIZE
122#endif
123
125#else
126 fprintf(
stderr,
"\n// !!! YOU HAVE FOUND A BUG IN SINGULAR.");
127 fprintf(
stderr,
"// !!! Please, email the input\n// and the following error message to singular@mathematik.uni-kl.de");
129#endif
130 return 0;
131}
static void malloc_free(void *ptr)
const CanonicalForm int s
static int index(p_Length length, p_Ord ord)
#define omPrintCurrentBackTraceMax(A, B)
◆ HALT()
◆ m2_end()
Definition at line 1100 of file misc_ip.cc.
1101{
1103 {
1109 {
1113 {
1118 }
1119 }
1121#ifdef HAVE_SIMPLEIPC
1123 {
1125 {
1127 {
1128#if PORTABLE_SEMAPHORES
1130#else
1132#endif
1134 }
1135 }
1136 }
1137#endif
1139#ifdef PAGE_TEST
1141#endif
1144 {
1147 {
1148
1151 }
1153
1156 {
1158 {
1160
1163 }
1164 else
1165 {
1167 }
1168 }
1171 {
1172
1175 }
1176 }
1178 {
1180 {
1181
1182
1183
1185 {
1187 printf(
"Auf Wiedersehen.\n");
1188 else
1190 }
1191
1192
1193
1194
1195
1196
1198 }
1199 else
1200 {
1202 }
1203 }
1205 }
1206}
VAR BOOLEAN singular_in_batchmode
void monitor(void *F, int mode)
void fe_reset_input_mode()
VAR FILE * File_Profiling
VAR BOOLEAN File_Log_written
void killhdl(idhdl h, package proot)
volatile BOOLEAN m2_end_called
VAR sipc_sem_t * semaphore[SIPC_MAX_SEMAPHORES]
VAR int sem_acquired[SIPC_MAX_SEMAPHORES]
int status int void * buf
BOOLEAN slPrepClose(si_link l)
BOOLEAN slClose(si_link l)
EXTERN_VAR volatile BOOLEAN ssiToBeClosed_inactive
EXTERN_VAR link_list ssiToBeClosed
#define SIPC_MAX_SEMAPHORES