Changeset 7fe9e13 in git
- Timestamp:
- Jan 7, 2014, 10:49:14 AM (9 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 458fe5223a24efe5daf71219814103af29a22a4a
- Parents:
- 9dba83b67ef6188c31760d27748664d42a28b6db
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-01-07 10:49:14+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-01-07 11:06:05+01:00
- Files:
-
- 86 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/RULES
r9dba83b r7fe9e13 42 42 - trust other parts of Singular: 43 43 - only very fast tests 44 - have a complete test of the input in debug mode (#ifndef NDEBUG)44 - have a complete test of the input in debug mode (#ifndef SING_NDEBUG) 45 45 - report internal errors via dReportError 46 46 -
Singular/extra.cc
r9dba83b r7fe9e13 449 449 TEST_FOR("om_ndebug") 450 450 #endif 451 #ifdef NDEBUG451 #ifdef SING_NDEBUG 452 452 TEST_FOR("ndebug") 453 453 #endif … … 3078 3078 #endif 3079 3079 /*==================== facstd_debug ==================================*/ 3080 #if !defined( NDEBUG)3080 #if !defined(SING_NDEBUG) 3081 3081 if(strcmp(sys_cmd,"facstd")==0) 3082 3082 { -
Singular/feOpt.cc
r9dba83b r7fe9e13 320 320 { 321 321 if (feOptSpec[i].help != NULL && feOptSpec[i].type != feOptUntyped 322 #ifndef NDEBUG322 #ifndef SING_NDEBUG 323 323 && *(feOptSpec[i].help) != '/' 324 324 #endif … … 362 362 { 363 363 if (feOptSpec[i].help != NULL 364 #ifdef NDEBUG364 #ifdef SING_NDEBUG 365 365 && *(feOptSpec[i].help) != '/' 366 366 #endif -
Singular/ipassign.cc
r9dba83b r7fe9e13 188 188 if( !nCoeff_is_transExt(currRing->cf) && (currRing->idroot == NULL) && n_IsZero((number)a->Data(), currRing->cf) ) 189 189 { 190 #ifndef NDEBUG190 #ifndef SING_NDEBUG 191 191 WarnS("Set minpoly over non-transcendental ground field to 0?!"); 192 192 Warn("in >>%s<<",my_yylinebuf); … … 199 199 { 200 200 // return TRUE; 201 #ifndef NDEBUG201 #ifndef SING_NDEBUG 202 202 WarnS("Trying to set minpoly over non-transcendental ground field..."); 203 203 #endif … … 207 207 { 208 208 // return TRUE; 209 #ifndef NDEBUG209 #ifndef SING_NDEBUG 210 210 idhdl p = currRing->idroot; 211 211 … … 231 231 if( nCoeff_is_transExt(currRing->cf) ) 232 232 { 233 #ifndef NDEBUG233 #ifndef SING_NDEBUG 234 234 WarnS("minpoly is already 0..."); 235 235 #endif … … 245 245 while(currRing->idroot!=NULL) 246 246 { 247 #ifndef NDEBUG247 #ifndef SING_NDEBUG 248 248 Warn("killing a local object due to minpoly change: %s", IDID(currRing->idroot)); 249 249 #endif -
Singular/ipid.cc
r9dba83b r7fe9e13 320 320 } 321 321 *root = (*root)->set(s, lev, t, init); 322 #ifndef NDEBUG322 #ifndef SING_NDEBUG 323 323 checkall(); 324 324 #endif -
Singular/iplib.cc
r9dba83b r7fe9e13 421 421 //Print("kill locals for %s (level %d)\n",IDID(pn),myynest); 422 422 killlocals(myynest); 423 #ifndef NDEBUG423 #ifndef SING_NDEBUG 424 424 checkall(); 425 425 #endif … … 1058 1058 idhdl h; 1059 1059 1060 #ifndef NDEBUG1060 #ifndef SING_NDEBUG 1061 1061 int dummy; 1062 1062 if (IsCmd(procname,dummy)) -
Singular/ipshell.cc
r9dba83b r7fe9e13 5240 5240 { 5241 5241 Werror("Wrong or unknown ground field specification"); 5242 #ifndef NDEBUG5242 #ifndef SING_NDEBUG 5243 5243 sleftv* p = pn; 5244 5244 while (p != NULL) -
Singular/ipshell.h
r9dba83b r7fe9e13 210 210 211 211 void iiCheckPack(package &p); 212 #ifndef NDEBUG212 #ifndef SING_NDEBUG 213 213 void checkall(); 214 214 #endif -
Singular/links/ssiLink.cc
r9dba83b r7fe9e13 1307 1307 SSI_VERSION,MAX_TOK,n98_v,n98_m); 1308 1308 } 1309 #ifndef NDEBUG1309 #ifndef SING_NDEBUG 1310 1310 if (TEST_OPT_DEBUG) 1311 1311 Print("// opening ssi-%d, MAX_TOK=%d\n",n98_v,n98_m); -
Singular/misc_ip.cc
r9dba83b r7fe9e13 1006 1006 #endif 1007 1007 1008 #ifndef NDEBUG1008 #ifndef SING_NDEBUG 1009 1009 void checkall() 1010 1010 { -
Singular/scanner.cc
r9dba83b r7fe9e13 1326 1326 #endif 1327 1327 #ifdef OM_TRACK 1328 #ifndef NDEBUG1328 #ifndef SING_NDEBUG 1329 1329 omPrintUsedTrackAddrs(stdout, 10); 1330 1330 #endif -
Singular/scanner.ll
r9dba83b r7fe9e13 306 306 #endif 307 307 #ifdef OM_TRACK 308 #ifndef NDEBUG308 #ifndef SING_NDEBUG 309 309 omPrintUsedTrackAddrs(stdout, 10); 310 310 #endif -
Singular/walk.cc
r9dba83b r7fe9e13 1972 1972 if(mpz_cmp(t_nenner, t_null) == 0) 1973 1973 { 1974 #ifndef NDEBUG1974 #ifndef SING_NDEBUG 1975 1975 Print("\n//MwalkNextWeightCC: t_nenner ist Null!"); 1976 1976 #endif -
doc/C-STYLEGUIDE
r9dba83b r7fe9e13 119 119 - kernel routines have to document their requirements, 120 120 the checks have to be done in the interpreter. 121 Repeat the checks only within #ifndef NDEBUG/#endif121 Repeat the checks only within #ifndef SING_NDEBUG/#endif 122 122 or via assert. 123 123 - input should be checked to conform with the documentation via assume -
dyn_modules/bigintm/Makefile.am
r9dba83b r7fe9e13 27 27 # NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer ${CXXTEMPLFLAGS} -fno-exceptions -fno-rtti 28 28 # ## -fno-implicit-templates? 29 # NODEBUGDEFS = -D NDEBUG -DOM_NDEBUG29 # NODEBUGDEFS = -DSING_NDEBUG -DOM_NDEBUG 30 30 31 31 # -DHAVE_CONFIG_H?? -
dyn_modules/bigintm/SConstruct
r9dba83b r7fe9e13 49 49 SHLIBSUFFIX = ".so", 50 50 CPPPATH = SING_INCLUDES, 51 CPPDEFINES = [" NDEBUG", "OM_NDEBUG"],51 CPPDEFINES = ["SING_NDEBUG", "OM_NDEBUG"], 52 52 CXXFLAGS = "-O3 -fomit-frame-pointer -fno-rtti " + CXXTEMPLFLAGS, 53 53 CCFLAGS="-O3 -fomit-frame-pointer ", -
dyn_modules/callgfanlib/gfan.cc
r9dba83b r7fe9e13 150 150 { 151 151 if(f2Act==NULL 152 #ifndef NDEBUG152 #ifndef SING_NDEBUG 153 153 #if SIZEOF_LONG==8 154 154 || f2Act==(facet*)0xfefefefefefefefe … … 200 200 void facet::shallowDelete() 201 201 { 202 #ifndef NDEBUG202 #ifndef SING_NDEBUG 203 203 // printf("shallowdel@UCN %i\n", this->getUCN()); 204 204 #endif … … 218 218 facet::~facet() 219 219 { 220 #ifndef NDEBUG220 #ifndef SING_NDEBUG 221 221 // printf("~facet@UCN %i\n",this->getUCN()); 222 222 #endif … … 399 399 inline void facet::printFlipGB() 400 400 { 401 #ifndef NDEBUG401 #ifndef SING_NDEBUG 402 402 idShow(this->flipGB); 403 403 #endif … … 415 415 inline int facet::getUCN() 416 416 { 417 #ifndef NDEBUG417 #ifndef SING_NDEBUG 418 418 #if SIZEOF_LONG==8 419 419 if((this!=NULL && this!=(facet * const)0xfbfbfbfbfbfbfbfb)) … … 422 422 #endif 423 423 #endif 424 #ifdef NDEBUG424 #ifdef SING_NDEBUG 425 425 if(this!=NULL) 426 426 #endif … … 457 457 volatile void facet::fDebugPrint() 458 458 { 459 #ifndef NDEBUG459 #ifndef SING_NDEBUG 460 460 facet *codim2Act; 461 461 codim2Act = this->codim2Ptr; … … 557 557 gcone::~gcone() 558 558 { 559 #ifndef NDEBUG559 #ifndef SING_NDEBUG 560 560 #if SIZEOF_LONG==8 561 561 if( ( this->gcBasis!=(ideal)(0xfbfbfbfbfbfbfbfb) ) && (this->gcBasis!=NULL) ) … … 630 630 volatile void gcone::showFacets(const short codim) 631 631 { 632 #ifndef NDEBUG632 #ifndef SING_NDEBUG 633 633 facet *f=this->facetPtr; 634 634 facet *f2=NULL; … … 664 664 static volatile void showSLA(facet &f) 665 665 { 666 #ifndef NDEBUG666 #ifndef SING_NDEBUG 667 667 facet *fAct; 668 668 fAct = &f; … … 702 702 static void idDebugPrint(const ideal &I) 703 703 { 704 #ifndef NDEBUG704 #ifndef SING_NDEBUG 705 705 int numElts=IDELEMS(I); 706 706 printf("Ideal with %i generators\n", numElts); … … 957 957 // delete gamma; 958 958 int offset=0;//needed for correction of redRowsArray[ii] 959 #ifndef NDEBUG959 #ifndef SING_NDEBUG 960 960 printf("Removed %i of %i in preprocessing step\n",num_elts,ddineq->rowsize); 961 961 #endif … … 1089 1089 fAct->setFacetNormal(load); 1090 1090 fAct->setUCN(this->getUCN()); 1091 #ifndef NDEBUG1091 #ifndef SING_NDEBUG 1092 1092 printf("Marking facet (");load->show(1,0);printf(") as non flippable\n"); 1093 1093 #endif … … 1655 1655 int64vec *fNormal;// = new int64vec(this->numVars); //facet normal, check for parallelity 1656 1656 fNormal = f->getFacetNormal(); //read this->fNormal; 1657 #ifndef NDEBUG1657 #ifndef SING_NDEBUG 1658 1658 // std::cout << "running gcone::flip" << std::endl; 1659 1659 printf("flipping UCN %i over facet",this->getUCN()); … … 1672 1672 computeInv(gb,initialForm,*fNormal); 1673 1673 1674 #ifndef NDEBUG1674 #ifndef SING_NDEBUG 1675 1675 /* cout << "Initial ideal is: " << endl; 1676 1676 idShow(initialForm); … … 1790 1790 for (int kk=1;kk<=this->numVars;kk++) 1791 1791 { 1792 #ifndef NDEBUG1792 #ifndef SING_NDEBUG 1793 1793 // cout << src_ExpV[kk] << "," << dst_ExpV[kk] << endl; 1794 1794 #endif … … 1801 1801 { 1802 1802 markingsAreCorrect=TRUE; //everything is fine 1803 #ifndef NDEBUG1803 #ifndef SING_NDEBUG 1804 1804 // cout << "correct markings" << endl; 1805 1805 #endif … … 1965 1965 test|=Sy_bit(OPT_REDSB); 1966 1966 test|=Sy_bit(OPT_REDTAIL); 1967 #ifndef NDEBUG1967 #ifndef SING_NDEBUG 1968 1968 // test|=Sy_bit(6); //OPT_DEBUG 1969 1969 #endif … … 1993 1993 // idDelete(&dstRing_I); 1994 1994 f->flipRing=rCopy(dstRing); //store the ring on the other side 1995 #ifndef NDEBUG1995 #ifndef SING_NDEBUG 1996 1996 printf("Flipped GB is UCN %i:\n",counter+1); 1997 1997 idDebugPrint(dstRing_I); … … 2030 2030 const int64vec *fNormal; 2031 2031 fNormal = f->getRef2FacetNormal();/*->getFacetNormal();*/ //read this->fNormal; 2032 #ifndef NDEBUG2032 #ifndef SING_NDEBUG 2033 2033 // printf("flipping UCN %i over facet(",this->getUCN()); 2034 2034 // fNormal->show(1,0); … … 2224 2224 }//while 2225 2225 // omFree(v); 2226 #ifndef NDEBUG2226 #ifndef SING_NDEBUG 2227 2227 // cout << "Initial Form="; 2228 2228 // pWrite(initialFormElement[ii]); … … 2398 2398 for (int i=0;i<pVariables;i++) 2399 2399 { 2400 // #ifndef NDEBUG2400 // #ifndef SING_NDEBUG 2401 2401 // (const_cast<int64vec*>(&iva))->show(1,0); (const_cast<int64vec*>(&ivb))->show(1,0); 2402 2402 // #endif … … 2452 2452 if (err!=dd_NoError){WerrorS("Error during dd_Matrix2LP in gcone::interiorPoint");} 2453 2453 if (lp==NULL){WerrorS("LP is NULL");} 2454 #ifndef NDEBUG2454 #ifndef SING_NDEBUG 2455 2455 // dd_WriteLP(stdout,lp); 2456 2456 #endif … … 2458 2458 lpInt=dd_MakeLPforInteriorFinding(lp); 2459 2459 if (err!=dd_NoError){WerrorS("Error during dd_MakeLPForInteriorFinding in gcone::interiorPoint");} 2460 #ifndef NDEBUG2460 #ifndef SING_NDEBUG 2461 2461 // dd_WriteLP(stdout,lpInt); 2462 2462 #endif … … 2471 2471 lpSol=dd_CopyLPSolution(lpInt); 2472 2472 // if (err!=dd_NoError){WerrorS("Error during dd_CopyLPSolution");} 2473 #ifndef NDEBUG2473 #ifndef SING_NDEBUG 2474 2474 printf("Interior point: "); 2475 2475 for (int ii=1; ii<(lpSol->d)-1;ii++) … … 2503 2503 mpq_clear(product); 2504 2504 } 2505 #ifndef NDEBUG2505 #ifndef SING_NDEBUG 2506 2506 // iv.show(); 2507 2507 // cout << endl; … … 2538 2538 // void gcone::interiorPoint2() 2539 2539 // {//idPrint(this->gcBasis); 2540 // #ifndef NDEBUG2540 // #ifndef SING_NDEBUG 2541 2541 // if(this->ivIntPt!=NULL) 2542 2542 // WarnS("Interior point already exists - ovrewriting!"); … … 2947 2947 rAct = currRing; 2948 2948 int UCNcounter=gcAct->getUCN(); 2949 #ifndef NDEBUG2949 #ifndef SING_NDEBUG 2950 2950 printf("NoRevs\n"); 2951 2951 printf("Facets are:\n"); … … 3044 3044 SearchListAct = SearchListRoot; //Set to beginning of list 3045 3045 /*Make SearchList doubly linked*/ 3046 #ifndef NDEBUG3046 #ifndef SING_NDEBUG 3047 3047 #if SIZEOF_LONG==8 3048 3048 while(SearchListAct!=(facet*)0xfefefefefefefefe && SearchListAct!=NULL) … … 3108 3108 //gcTmp->ddFacets should not be needed anymore, so 3109 3109 dd_FreeMatrix(gcTmp->ddFacets); 3110 #ifndef NDEBUG3110 #ifndef SING_NDEBUG 3111 3111 // gcTmp->showFacets(1); 3112 3112 #endif 3113 3113 /*add facets to SLA here*/ 3114 3114 #ifdef SHALLOW 3115 #ifndef NDEBUG3115 #ifndef SING_NDEBUG 3116 3116 printf("fActUCN before enq2: %i\n",fAct->getUCN()); 3117 3117 #endif 3118 3118 facet *tmp; 3119 3119 tmp=gcTmp->enqueue2(SearchListRoot); 3120 #ifndef NDEBUG3120 #ifndef SING_NDEBUG 3121 3121 printf("\nheadUCN=%i\n",tmp->getUCN()); 3122 3122 printf("fActUCN after enq2: %i\n",fAct->getUCN()); … … 3134 3134 rDelete(gcTmp->baseRing); 3135 3135 } 3136 #ifndef NDEBUG3136 #ifndef SING_NDEBUG 3137 3137 if(SearchListRoot!=NULL) 3138 3138 showSLA(*SearchListRoot); … … 3159 3159 }//while( ( (fAct->next!=NULL) && (fAct->getUCN()==fAct->next->getUCN() ) ) ); 3160 3160 //Search for cone with smallest UCN 3161 #ifndef NDEBUG3161 #ifndef SING_NDEBUG 3162 3162 #if SIZEOF_LONG==8 //64 bit 3163 3163 while(gcNext!=(gcone * const)0xfbfbfbfbfbfbfbfb && SearchListRoot!=NULL) … … 3166 3166 #endif 3167 3167 #endif 3168 #ifdef NDEBUG3168 #ifdef SING_NDEBUG 3169 3169 while(gcNext!=NULL && SearchListRoot!=NULL) 3170 3170 #endif … … 3447 3447 removalOccured=FALSE; 3448 3448 slNormal = slAct->getFacetNormal(); 3449 #ifndef NDEBUG3449 #ifndef SING_NDEBUG 3450 3450 printf("Checking facet (");fNormal->show(1,1);printf(") against (");slNormal->show(1,1);printf(")\n"); 3451 3451 #endif … … 3478 3478 // deleteMarker=NULL; 3479 3479 } 3480 #ifndef NDEBUG3480 #ifndef SING_NDEBUG 3481 3481 printf("Removing (");fNormal->show(1,1);printf(") from list\n"); 3482 3482 #endif … … 3500 3500 if(removalOccured==FALSE) 3501 3501 { 3502 #ifndef NDEBUG3502 #ifndef SING_NDEBUG 3503 3503 // cout << "Adding facet (";fNormal->show(1,0);cout << ") to SLA " << endl; 3504 3504 #endif … … 3627 3627 { 3628 3628 removalOccured=FALSE; 3629 #ifndef NDEBUG3629 #ifndef SING_NDEBUG 3630 3630 printf("Checking facet (");fAct->fNormal->show(1,1);printf(") against (");slAct->fNormal->show(1,1);printf(")\n"); 3631 3631 #endif … … 3663 3663 removalOccured=TRUE; 3664 3664 gcone::lengthOfSearchList--; 3665 #ifndef NDEBUG3665 #ifndef SING_NDEBUG 3666 3666 printf("Removing (");fAct->fNormal->show(1,1);printf(") from list\n"); 3667 3667 #endif -
dyn_modules/callgfanlib/gitfan.cc
r9dba83b r7fe9e13 36 36 facetNormal(f.facetNormal) 37 37 { 38 #ifndef NDEBUG38 #ifndef SING_NDEBUG 39 39 gfan::ZCone c = f.eta; 40 40 gfan::ZVector v = f.interiorPoint; … … 52 52 facetNormal(w) 53 53 { 54 #ifndef NDEBUG54 #ifndef SING_NDEBUG 55 55 assume(c.ambientDimension() == (int)v.size()); 56 56 assume(c.ambientDimension() == (int)w.size()); … … 62 62 facet::~facet() 63 63 { 64 #ifndef NDEBUG64 #ifndef SING_NDEBUG 65 65 gfan::ZCone c = this->eta; 66 66 gfan::ZVector v = this->interiorPoint; -
dyn_modules/callgfanlib/gitfan.h
r9dba83b r7fe9e13 37 37 const gfan::ZVector v1 = f.interiorPoint; 38 38 const gfan::ZVector v2 = g.interiorPoint; 39 #ifndef NDEBUG39 #ifndef SING_NDEBUG 40 40 assume(v1.size() == v2.size()); 41 41 #endif -
dyn_modules/modgen/Makefile.in
r9dba83b r7fe9e13 46 46 ## 47 47 CFLAGS += -fno-rtti -fno-exceptions -O3 -w -fomit-frame-pointer -pipe -fno-implicit-templates \ 48 -g -I${includedir} -I../include -I${topsrcdir}/.. -D NDEBUG -DMODULE_GENERATOR \48 -g -I${includedir} -I../include -I${topsrcdir}/.. -DSING_NDEBUG -DMODULE_GENERATOR \ 49 49 -D${SING_UNAME} 50 50 LIBS += -L/usr/local/lib -
dyn_modules/modgen/makefile.cc
r9dba83b r7fe9e13 91 91 fprintf(fp, "SINGUNAME\t= %s\n",SINGUNAME); 92 92 #warning "PROBLEM: nice place for include file has to be found" 93 fprintf(fp, "CFLAGS\t= -D NDEBUG -DBUILD_MODULE -I. -I${SINGULARROOT} -I${SINGULARROOT}/${SINGUNAME}/include\n");93 fprintf(fp, "CFLAGS\t= -DSING_NDEBUG -DBUILD_MODULE -I. -I${SINGULARROOT} -I${SINGULARROOT}/${SINGUNAME}/include\n"); 94 94 fprintf(fp, "DCFLAGS\t= -DBUILD_MODULE -I. -I${SINGULARROOT} -I${SINGULARROOT}/${SINGUNAME}/include\n"); 95 95 fprintf(fp, "#LD\t=\n"); -
dyn_modules/python/Makefile
r9dba83b r7fe9e13 12 12 SINGULAR_BASE=../.. 13 13 SING_ARCH=ix86 14 CFLAGS = -D NDEBUG -DBUILD_MODULE -I. -I${SINGULAR_BASE}/kernel -I${SINGULAR_BASE}/Singular -I/home/michael/sing/${SING_ARCH}-Linux/include -I/usr/include/python${PYTHON_VERSION}14 CFLAGS = -DSING_NDEBUG -DBUILD_MODULE -I. -I${SINGULAR_BASE}/kernel -I${SINGULAR_BASE}/Singular -I/home/michael/sing/${SING_ARCH}-Linux/include -I/usr/include/python${PYTHON_VERSION} 15 15 DCFLAGS = -DBUILD_MODULE -I. -I/home/michael/sing/kernel -I${SINGULAR_BASE}/Singular -I/home/michael/sing/${SING_ARCH}-Linux/include -I/usr/include/python${PYTHON_VERSION} 16 16 LDFLAGS= -lboost_python -lpython${PYTHON_VERSION} -
dyn_modules/python/SConstruct
r9dba83b r7fe9e13 108 108 # SING_ROOT+"/Singular", SING_ROOT+"/"+SING_ARCH +"/include",\ 109 109 # PYTHON_CONFIG.incdir, BOOST_PREFIX+"/include", "/sw/include"], 110 # LIBS=["boost_python",PYTHON_CONFIG.libname], CPPDEFINES=[" NDEBUG","BUILD_MODULE"], SHLIBPREFIX="")110 # LIBS=["boost_python",PYTHON_CONFIG.libname], CPPDEFINES=["SING_NDEBUG","BUILD_MODULE"], SHLIBPREFIX="") 111 111 env['LDMODULESUFFIX'] = '.so' 112 112 if platform=="cygwin": … … 138 138 LIBPATH=[PYTHON_CONFIG.libdir],\ 139 139 CXXFLAGS="-O2",\ 140 LIBS=["boost_python",PYTHON_CONFIG.libname], CPPDEFINES=[" NDEBUG","BUILD_MODULE"], SHLIBPREFIX="")140 LIBS=["boost_python",PYTHON_CONFIG.libname], CPPDEFINES=["SING_NDEBUG","BUILD_MODULE"], SHLIBPREFIX="") 141 141 142 142 -
dyn_modules/syzextra/SConstruct
r9dba83b r7fe9e13 49 49 SHLIBSUFFIX = ".so", 50 50 CPPPATH = SING_INCLUDES, 51 CPPDEFINES = [" NDEBUG", "OM_NDEBUG"],51 CPPDEFINES = ["SING_NDEBUG", "OM_NDEBUG"], 52 52 CXXFLAGS = "-O3 -fomit-frame-pointer -fno-rtti " + CXXTEMPLFLAGS, 53 53 CCFLAGS="-O3 -fomit-frame-pointer ", -
dyn_modules/syzextra/mod_main.cc
r9dba83b r7fe9e13 219 219 static inline void view(const intvec* v) 220 220 { 221 #ifndef NDEBUG221 #ifndef SING_NDEBUG 222 222 v->view(); 223 223 #else 224 // This code duplication is only due to Hannes's #ifndef NDEBUG!224 // This code duplication is only due to Hannes's #ifndef SING_NDEBUG! 225 225 Print ("intvec: {rows: %d, cols: %d, length: %d, Values: \n", v->rows(), v->cols(), v->length()); 226 226 -
dyn_modules/tools/Makefile.in
r9dba83b r7fe9e13 2 2 # 3 3 # 4 CFLAGS += -g -I../include -I../../Singular -D NDEBUG -DMODULE_GENERATOR4 CFLAGS += -g -I../include -I../../Singular -DSING_NDEBUG -DMODULE_GENERATOR 5 5 LIBS += -L/usr/local/lib -lgmp 6 6 -
dyn_modules/tools/misc.cc
r9dba83b r7fe9e13 650 650 fprintf(fp, "CC\t= gcc\n"); 651 651 fprintf(fp, "CXX\t= gcc\n"); 652 fprintf(fp, "CFLAGS\t= -D NDEBUG -DBUILD_MODULE -I. -I../include\n");652 fprintf(fp, "CFLAGS\t= -DSING_NDEBUG -DBUILD_MODULE -I. -I../include\n"); 653 653 fprintf(fp, "#LD\t=\n"); 654 654 fprintf(fp, "\n"); -
factory/ChangeLog
r9dba83b r7fe9e13 1520 1520 removed 1521 1521 1522 * debug.h: dependency on #define NDEBUG removed1522 * debug.h: dependency on #define SING_NDEBUG removed 1523 1523 1524 1524 * factoryconf.template: doc fix … … 1608 1608 debug.h, cf_assert.h, and timing.h, resp. 1609 1609 1610 * cf_assert.h (NOASSERT, NDEBUG): #defineNDEBUG to switch off1610 * cf_assert.h (NOASSERT, SING_NDEBUG): #define SING_NDEBUG to switch off 1611 1611 assertions replaced by #define NOASSERT. For sake of backward 1612 compatibility NDEBUG works, too.1612 compatibility SING_NDEBUG works, too. 1613 1613 1614 1614 * cf_assert.h (DEBINCLEVEL, DEBDECLEVEL, DEBOUTSL, DEBOUT, DEBOUTLN): … … 1665 1665 (hprint): calls to hprint() wrapped by calls to #define 1666 1666 DEBOUTHPRINT, which definition depends on #define DEBUGOUTPUT 1667 (instead of NDEBUG, as before). All callers changed.1667 (instead of SING_NDEBUG, as before). All callers changed. 1668 1668 1669 1669 * cf_linsys.cc: superfluous #define TIMING removed … … 1697 1697 1698 1698 * debug.h (DEBUGOUTPUT): #define DEBUGOUTPUT is switched off now 1699 if #define NDEBUG is switched on1699 if #define SING_NDEBUG is switched on 1700 1700 1701 1701 * fac_univar.cc (ZFactorizeUnivariate): timing stuff changed to -
factory/cf_assert.h
r9dba83b r7fe9e13 2 2 3 3 /* This is for compatibility with standard cf_assert.h */ 4 #if defined ( NDEBUG) && ! defined (NOASSERT)4 #if defined (SING_NDEBUG) && ! defined (NOASSERT) 5 5 #define NOASSERT 6 6 #endif -
factory/libfac/Makefile.am
r9dba83b r7fe9e13 21 21 AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} -I${builddir} -I${srcdir}/.. -I${builddir}/.. -I${srcdir}/../include -I${builddir}/../include -I${srcdir}/factor -I${builddir}/factor -I${srcdir}/charset -I${builddir}/charset ${GMP_CFLAGS} ${NTL_CFLAGS} -DHAVE_CONFIG_H 22 22 23 # libfac_la_CPPFLAGS = ${AM_CPPFLAGS} -D NDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H23 # libfac_la_CPPFLAGS = ${AM_CPPFLAGS} -DSING_NDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H 24 24 # libfac_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 25 25 -
factory/libfac/charset/charset.cc
r9dba83b r7fe9e13 90 90 } 91 91 92 #ifdef MCHARSET NDEBUG92 #ifdef MCHARSETSING_NDEBUG 93 93 # define DEBUGOUTPUT 94 94 #else … … 110 110 // if ( getNumVars(CSet.getFirst()) > 1 ){ 111 111 // //CSet = removecontent(CSet, Remembern); 112 // #ifdef MCHARSET NDEBUG112 // #ifdef MCHARSETSING_NDEBUG 113 113 // CERR << "MCharSetN: CSet= " << CSet << "\n"; 114 114 // #endif -
factory/libfac/configure
r9dba83b r7fe9e13 602 602 CXXFLAGS="-O" 603 603 cat >> confdefs.h <<\EOF 604 #define NDEBUG 1604 #define SING_NDEBUG 1 605 605 EOF 606 606 -
factory/libfac/configure.in
r9dba83b r7fe9e13 77 77 else 78 78 CXXFLAGS="-O" 79 AC_DEFINE( NDEBUG)79 AC_DEFINE(SING_NDEBUG) 80 80 fi 81 81 fi -
factory/libfac/factor/Factor.cc
r9dba83b r7fe9e13 430 430 // if ( ! ok ) return 0; // we failed 431 431 // } 432 #ifndef NDEBUG432 #ifndef SING_NDEBUG 433 433 //printf("libfac: try_specializePoly: extension level >0\n"); 434 434 #endif -
factory/libfac/factor/debug.h
r9dba83b r7fe9e13 18 18 #include <stdlib.h> 19 19 20 #ifdef NDEBUG20 #ifdef SING_NDEBUG 21 21 #define ASSERT(ignore1,ignore2)do {} while (0) 22 22 #else -
kernel/fast_maps.cc
r9dba83b r7fe9e13 100 100 *F debugging stuff 101 101 */ 102 #ifndef NDEBUG102 #ifndef SING_NDEBUG 103 103 void maMonomial_Out(mapoly monomial, ring src_r, ring dest_r) 104 104 { -
kernel/gr_kstd2.cc
r9dba83b r7fe9e13 1315 1315 ideal gnc_gr_mora(const ideal F, const ideal Q, const intvec *, const intvec *, kStrategy strat, const ring _currRing) 1316 1316 { 1317 #ifndef NDEBUG1317 #ifndef SING_NDEBUG 1318 1318 // Not yet! 1319 1319 WarnS("Sorry, non-commutative mora is not yet implemented!"); -
kernel/ideals.cc
r9dba83b r7fe9e13 14 14 #include <omalloc/omalloc.h> 15 15 16 #ifndef NDEBUG16 #ifndef SING_NDEBUG 17 17 # define MYTEST 0 18 #else /* ifndef NDEBUG */18 #else /* ifndef SING_NDEBUG */ 19 19 # define MYTEST 0 20 #endif /* ifndef NDEBUG */20 #endif /* ifndef SING_NDEBUG */ 21 21 22 22 #include <omalloc/omalloc.h> -
kernel/kmatrix.h
r9dba83b r7fe9e13 123 123 a = new K[k]; 124 124 125 #ifndef NDEBUG125 #ifndef SING_NDEBUG 126 126 if( a == (K*)NULL ) 127 127 { -
kernel/kstd1.cc
r9dba83b r7fe9e13 14 14 #define MORA_USE_BUCKETS 15 15 16 #ifndef NDEBUG16 #ifndef SING_NDEBUG 17 17 # define MYTEST 0 18 #else /* ifndef NDEBUG */18 #else /* ifndef SING_NDEBUG */ 19 19 # define MYTEST 0 20 #endif /* ifndef NDEBUG */20 #endif /* ifndef SING_NDEBUG */ 21 21 22 22 #define ADIDEBUG 0 -
kernel/kstd2.cc
r9dba83b r7fe9e13 18 18 #include <kernel/mod2.h> 19 19 20 #ifndef NDEBUG20 #ifndef SING_NDEBUG 21 21 # define MYTEST 0 22 #else /* ifndef NDEBUG */22 #else /* ifndef SING_NDEBUG */ 23 23 # define MYTEST 0 24 #endif /* ifndef NDEBUG */24 #endif /* ifndef SING_NDEBUG */ 25 25 26 26 #if MYTEST -
kernel/kstdfac.cc
r9dba83b r7fe9e13 27 27 #include <kernel/kstdfac.h> 28 28 29 #ifndef NDEBUG29 #ifndef SING_NDEBUG 30 30 int strat_nr=0; 31 31 int strat_fac_debug=0; … … 277 277 } 278 278 } 279 #ifndef NDEBUG279 #ifndef SING_NDEBUG 280 280 else if (strat_fac_debug) 281 281 { … … 401 401 } 402 402 } 403 #ifndef NDEBUG403 #ifndef SING_NDEBUG 404 404 if(strat_fac_debug) 405 405 { … … 432 432 if (r==NULL) 433 433 { 434 #ifndef NDEBUG434 #ifndef SING_NDEBUG 435 435 if(strat_fac_debug) 436 436 { … … 484 484 { 485 485 ideal r=kNF(n->Shdl,NULL,Lj->d,0,KSTD_NF_LAZY | KSTD_NF_NONORM); 486 #ifndef NDEBUG486 #ifndef SING_NDEBUG 487 487 if(strat_fac_debug) 488 488 { … … 719 719 } 720 720 } 721 #ifndef NDEBUG721 #ifndef SING_NDEBUG 722 722 if(strat_fac_debug) 723 723 { … … 750 750 if (r==NULL) 751 751 { 752 #ifndef NDEBUG752 #ifndef SING_NDEBUG 753 753 if(strat_fac_debug) 754 754 { … … 806 806 if (idIs0(r)) 807 807 { 808 #ifndef NDEBUG808 #ifndef SING_NDEBUG 809 809 if(strat_fac_debug) 810 810 { … … 954 954 ideal_list LL=(ideal_list)omAlloc(sizeof(*LL)); 955 955 LL->d=r; 956 #ifndef NDEBUG956 #ifndef SING_NDEBUG 957 957 LL->nr=strat->nr; 958 958 #endif … … 975 975 if (idIs0(r)) 976 976 { 977 #ifndef NDEBUG977 #ifndef SING_NDEBUG 978 978 if(strat_fac_debug) 979 979 { -
kernel/kutil.cc
r9dba83b r7fe9e13 16 16 #include "mod2.h" 17 17 18 #ifndef NDEBUG18 #ifndef SING_NDEBUG 19 19 # define MYTEST 0 20 #else /* ifndef NDEBUG */20 #else /* ifndef SING_NDEBUG */ 21 21 # define MYTEST 0 22 #endif /* ifndef NDEBUG */22 #endif /* ifndef SING_NDEBUG */ 23 23 24 24 … … 8332 8332 if ( nc_rComplete(r, res, false) ) // no qideal! 8333 8333 { 8334 #ifndef NDEBUG8334 #ifndef SING_NDEBUG 8335 8335 WarnS("error in nc_rComplete"); 8336 8336 #endif … … 8387 8387 if ( nc_rComplete(r, res, false) ) // no qideal! 8388 8388 { 8389 #ifndef NDEBUG8389 #ifndef SING_NDEBUG 8390 8390 WarnS("error in nc_rComplete"); 8391 8391 #endif … … 8516 8516 { 8517 8517 memset(this, 0, sizeof(skStrategy)); 8518 #ifndef NDEBUG8518 #ifndef SING_NDEBUG 8519 8519 strat_nr++; 8520 8520 nr=strat_nr; … … 8825 8825 } 8826 8826 8827 #ifndef NDEBUG8827 #ifndef SING_NDEBUG 8828 8828 rDebugPrint(currRing); 8829 8829 #endif -
kernel/kutil.h
r9dba83b r7fe9e13 170 170 }; 171 171 172 #ifndef NDEBUG172 #ifndef SING_NDEBUG 173 173 extern int strat_nr; 174 174 extern int strat_fac_debug; … … 341 341 omBin lmBin; 342 342 omBin tailBin; 343 #ifndef NDEBUG343 #ifndef SING_NDEBUG 344 344 int nr; 345 345 #endif -
kernel/mod2.h
r9dba83b r7fe9e13 157 157 /******************************************************************* 158 158 * DEBUG OPTIONS 159 * -- only significant for for compiling without -D NDEBUG159 * -- only significant for for compiling without -DSING_NDEBUG 160 160 * -- you better know what your are doing, if you touch this 161 161 ******************************************************************/ 162 #ifndef NDEBUG162 #ifndef SING_NDEBUG 163 163 164 164 /* undefine to enable inline */ 165 165 #define NO_INLINE 166 166 167 /* undefine to disable assume -- should normally be defined for NDEBUG */167 /* undefine to disable assume -- should normally be defined for SING_NDEBUG */ 168 168 #define HAVE_ASSUME 169 169 … … 366 366 367 367 368 #else /* not NDEBUG **************************************************** */368 #else /* not SING_NDEBUG **************************************************** */ 369 369 370 370 #define NO_PDEBUG … … 373 373 #define YYDEBUG 0 374 374 375 #endif /* not NDEBUG */375 #endif /* not SING_NDEBUG */ 376 376 377 377 /******************************************************************* -
kernel/mod2.h.cmake.in
r9dba83b r7fe9e13 323 323 /******************************************************************* 324 324 * DEBUG OPTIONS 325 * -- only significant for for compiling without -D NDEBUG325 * -- only significant for for compiling without -DSING_NDEBUG 326 326 * -- you better know what your are doing, if you touch this 327 327 ******************************************************************/ 328 #ifndef NDEBUG328 #ifndef SING_NDEBUG 329 329 330 330 /* undefine to enable inline */ 331 331 #define NO_INLINE 332 332 333 /* undefine to disable assume -- should normally be defined for NDEBUG */333 /* undefine to disable assume -- should normally be defined for SING_NDEBUG */ 334 334 #define HAVE_ASSUME 335 335 … … 544 544 545 545 546 #else /* not NDEBUG **************************************************** */546 #else /* not SING_NDEBUG **************************************************** */ 547 547 548 548 #define NO_PDEBUG … … 551 551 #define YYDEBUG 0 552 552 553 #endif /* not NDEBUG */553 #endif /* not SING_NDEBUG */ 554 554 555 555 /******************************************************************* … … 964 964 /******************************************************************* 965 965 * DEBUG OPTIONS 966 * -- only significant for for compiling without -D NDEBUG966 * -- only significant for for compiling without -DSING_NDEBUG 967 967 * -- you better know what your are doing, if you touch this 968 968 ******************************************************************/ 969 #ifndef NDEBUG969 #ifndef SING_NDEBUG 970 970 971 971 /* undefine to enable inline */ 972 972 #define NO_INLINE 973 973 974 /* undefine to disable assume -- should normally be defined for NDEBUG */974 /* undefine to disable assume -- should normally be defined for SING_NDEBUG */ 975 975 #define HAVE_ASSUME 976 976 … … 1185 1185 1186 1186 1187 #else /* not NDEBUG **************************************************** */1187 #else /* not SING_NDEBUG **************************************************** */ 1188 1188 1189 1189 #define NO_PDEBUG … … 1192 1192 #define YYDEBUG 0 1193 1193 1194 #endif /* not NDEBUG */1194 #endif /* not SING_NDEBUG */ 1195 1195 1196 1196 /******************************************************************* -
kernel/multicnt.cc
r9dba83b r7fe9e13 36 36 cnt = new int[n]; 37 37 38 #ifndef NDEBUG38 #ifndef SING_NDEBUG 39 39 if( cnt == (int*)NULL ) 40 40 { -
kernel/npolygon.cc
r9dba83b r7fe9e13 301 301 l = new linearForm[k]; 302 302 303 #ifndef NDEBUG303 #ifndef SING_NDEBUG 304 304 if( l == (linearForm*)NULL ) 305 305 { -
kernel/sca.cc
r9dba83b r7fe9e13 112 112 assume(rIsSCA(currRing)); 113 113 114 #ifndef NDEBUG114 #ifndef SING_NDEBUG 115 115 idTest(F); 116 116 idTest(Q); … … 385 385 assume(rIsSCA(currRing)); 386 386 387 #ifndef NDEBUG387 #ifndef SING_NDEBUG 388 388 idTest(F); 389 389 idTest(Q); -
kernel/semic.cc
r9dba83b r7fe9e13 63 63 w = new int[k]; 64 64 65 #ifndef NDEBUG65 #ifndef SING_NDEBUG 66 66 if( s == (Rational*)NULL || w == (int*)NULL ) 67 67 { -
kernel/syz3.cc
r9dba83b r7fe9e13 238 238 * only for tests 239 239 */ 240 #ifdef NDEBUG240 #ifdef SING_NDEBUG 241 241 static void syTestPairs(SSet resPairs,int length,ideal /*old_generators*/) 242 242 #else -
kernel/tgb.cc
r9dba83b r7fe9e13 2518 2518 pIter (p); 2519 2519 pNext (t) = NULL; 2520 #ifndef NDEBUG2520 #ifndef SING_NDEBUG 2521 2521 number coef_debug = p_GetCoeff (t, currRing); 2522 2522 #endif … … 4487 4487 } 4488 4488 4489 #ifdef NDEBUG4489 #ifdef SING_NDEBUG 4490 4490 static void 4491 4491 multi_reduction_find (red_object * los, int /*losl*/, slimgb_alg * c, int startf, -
kernel/tgb_internal.h
r9dba83b r7fe9e13 919 919 return res; 920 920 } 921 #ifdef NDEBUG921 #ifdef SING_NDEBUG 922 922 template <class number_type> void add_coef_times_sparse(number_type* const temp_array, 923 923 int /*temp_size*/,SparseRow<number_type>* row, number coef) … … 965 965 } 966 966 } 967 #ifdef NDEBUG967 #ifdef SING_NDEBUG 968 968 template <class number_type> void add_coef_times_dense(number_type* const temp_array, 969 969 int /*temp_size*/,const number_type* row, int len,number coef) … … 1011 1011 } 1012 1012 } 1013 #ifdef NDEBUG1013 #ifdef SING_NDEBUG 1014 1014 template <class number_type> void add_dense(number_type* const temp_array, 1015 1015 int /*temp_size*/,const number_type* row, int len) … … 1035 1035 1036 1036 } 1037 #ifdef NDEBUG1037 #ifdef SING_NDEBUG 1038 1038 template <class number_type> void sub_dense(number_type* const temp_array, 1039 1039 int /*temp_size*/,const number_type* row, int len) … … 1061 1061 } 1062 1062 1063 #ifdef NDEBUG1063 #ifdef SING_NDEBUG 1064 1064 template <class number_type> void add_sparse(number_type* const temp_array,int /*temp_size*/,SparseRow<number_type>* row) 1065 1065 #else … … 1079 1079 } 1080 1080 } 1081 #ifdef NDEBUG1081 #ifdef SING_NDEBUG 1082 1082 template <class number_type> void sub_sparse(number_type* const temp_array,int /*temp_size*/,SparseRow<number_type>* row) 1083 1083 #else -
kernel/tgbgauss.cc
r9dba83b r7fe9e13 228 228 assume(mat->min_col_not_zero_in_row(i)>=col); 229 229 assume(row_cache[i]==mat->min_col_not_zero_in_row(i)); 230 #ifndef NDEBUG230 #ifndef SING_NDEBUG 231 231 int first=row_cache[i]; 232 232 assume(first!=matcol); … … 264 264 assume(mat->min_col_not_zero_in_row(i)>=col); 265 265 assume(row_cache[i]==mat->min_col_not_zero_in_row(i)); 266 #ifndef NDEBUG266 #ifndef SING_NDEBUG 267 267 int first=row_cache[i]; 268 268 assume(first!=matcol); … … 839 839 while (m!=NULL) 840 840 { 841 #ifndef NDEBUG841 #ifndef SING_NDEBUG 842 842 if (currRing==r) {nTest(m->coef);} 843 843 #endif -
libpolys/coeffs/bigintmat.cc
r9dba83b r7fe9e13 207 207 if (ca != rb) 208 208 { 209 #ifndef NDEBUG209 #ifndef SING_NDEBUG 210 210 Werror("wrong bigintmat sizes at multiplication a * b: acols: %d != brows: %d\n", ca, rb); 211 211 #endif … … 310 310 assume (basecoeffs() == op->basecoeffs() ); 311 311 312 #ifndef NDEBUG312 #ifndef SING_NDEBUG 313 313 if (basecoeffs() != op->basecoeffs() ) 314 314 WerrorS("wrong bigintmat comparison: different basecoeffs!\n"); -
libpolys/coeffs/bigintmat.h
r9dba83b r7fe9e13 71 71 inline number& operator[](int i) 72 72 { 73 #ifndef NDEBUG73 #ifndef SING_NDEBUG 74 74 if((i<0)||(i>=row*col)) 75 75 { … … 83 83 inline const number& operator[](int i) const 84 84 { 85 #ifndef NDEBUG85 #ifndef SING_NDEBUG 86 86 if((i<0)||(i>=row*col)) 87 87 { … … 157 157 n_Delete(&(v[i]), basecoeffs()); v[i] = n; 158 158 } 159 #ifndef NDEBUG159 #ifndef SING_NDEBUG 160 160 else 161 161 { -
libpolys/coeffs/ffields.cc
r9dba83b r7fe9e13 637 637 if (fftable[i]==0) 638 638 { 639 #ifndef NDEBUG639 #ifndef SING_NDEBUG 640 640 Warn("illegal GF-table size: %d", c); 641 641 #endif … … 922 922 if(p->GFChar > (2<<15)) 923 923 { 924 #ifndef NDEBUG924 #ifndef SING_NDEBUG 925 925 Warn("illegal characteristic"); 926 926 #endif … … 932 932 if( (p->GFDegree * check) > sixteenlog2 ) 933 933 { 934 #ifndef NDEBUG934 #ifndef SING_NDEBUG 935 935 Warn("Sorry: illegal size: %u ^ %u", p->GFChar, p->GFDegree ); 936 936 #endif … … 944 944 if( r->m_nfPlus1Table == NULL ) 945 945 { 946 #ifndef NDEBUG946 #ifndef SING_NDEBUG 947 947 Warn("Sorry: cannot init lookup table!"); 948 948 #endif -
libpolys/coeffs/mpr_global.h
r9dba83b r7fe9e13 18 18 19 19 // --------------------------- debugging stuff ---------------------------- 20 #if !defined( NDEBUG)20 #if !defined(SING_NDEBUG) 21 21 //#define mprDEBUG_ALL 22 22 #endif 23 23 24 #if !defined( NDEBUG) || defined(mprDEBUG_ALL)24 #if !defined(SING_NDEBUG) || defined(mprDEBUG_ALL) 25 25 //#define mprDEBUG_PROT 26 26 #endif -
libpolys/coeffs/numbers.cc
r9dba83b r7fe9e13 454 454 assume(n->type==t); 455 455 456 #ifndef NDEBUG456 #ifndef SING_NDEBUG 457 457 if(n->cfKillChar==NULL) Warn("cfKillChar is NULL for coeff %d",t); 458 458 if(n->cfWriteLong==NULL) Warn("cfWrite is NULL for coeff %d",t); -
libpolys/libpolys-config.in
r9dba83b r7fe9e13 90 90 91 91 --cflags) 92 ${ECHOn} " -I${includedir} -I${includedir}/singular @FACTORY_CFLAGS@ @NTL_CFLAGS@ @GMP_CFLAGS@ -D NDEBUG -DOM_NDEBUG"92 ${ECHOn} " -I${includedir} -I${includedir}/singular @FACTORY_CFLAGS@ @NTL_CFLAGS@ @GMP_CFLAGS@ -DSING_NDEBUG -DOM_NDEBUG" 93 93 ;; 94 94 -
libpolys/misc/Makefile.am
r9dba83b r7fe9e13 22 22 # # -fdiagnostics-show-option 23 23 24 # libmisc_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -D NDEBUG -DOM_NDEBUG24 # libmisc_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DSING_NDEBUG -DOM_NDEBUG 25 25 # libmisc_g_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 26 26 # libmisc_la_CPPFLAGS = ${AM_CPPFLAGS} … … 55 55 # libintvec_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} -fwrapv -fno-implicit-templates 56 56 57 # libintvec_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -D NDEBUG -DOM_NDEBUG57 # libintvec_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DSING_NDEBUG -DOM_NDEBUG 58 58 # libintvec_g_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 59 59 # libintvec_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -
libpolys/misc/auxiliary.h.in
r9dba83b r7fe9e13 195 195 /******************************************************************* 196 196 * DEBUG OPTIONS 197 * -- only significant for for compiling without -D NDEBUG197 * -- only significant for for compiling without -DSING_NDEBUG 198 198 * -- you better know what your are doing, if you touch this 199 199 ******************************************************************/ 200 #ifndef NDEBUG200 #ifndef SING_NDEBUG 201 201 202 202 /* undefine to enable inline */ 203 203 #define NO_INLINE 204 204 205 /* undefine to disable assume -- should normally be defined for NDEBUG */205 /* undefine to disable assume -- should normally be defined for SING_NDEBUG */ 206 206 #define HAVE_ASSUME 207 207 … … 370 370 371 371 #endif 372 /* end of debugging option (ifndef NDEBUG) */372 /* end of debugging option (ifndef SING_NDEBUG) */ 373 373 374 374 … … 377 377 # define FORCE_INLINE inline 378 378 #else 379 #ifdef NDEBUG379 #ifdef SING_NDEBUG 380 380 #if defined(_MSC_VER) 381 381 # define FORCE_INLINE __forceinline … … 388 388 # define FORCE_INLINE inline 389 389 #endif 390 /* NDEBUG */390 /* SING_NDEBUG */ 391 391 #endif 392 392 /* _DEBUG */ -
libpolys/misc/int64vec.h
r9dba83b r7fe9e13 31 31 int64& operator[](int i) 32 32 { 33 #ifndef NDEBUG33 #ifndef SING_NDEBUG 34 34 if((i<0)||(i>=row*col)) 35 35 { … … 41 41 inline const int64& operator[](int i) const 42 42 { 43 #ifndef NDEBUG43 #ifndef SING_NDEBUG 44 44 if((i<0)||(i>=row*col)) 45 45 { -
libpolys/misc/intvec.cc
r9dba83b r7fe9e13 135 135 } 136 136 137 #ifndef NDEBUG137 #ifndef SING_NDEBUG 138 138 // debug only 139 139 void intvec::view () const -
libpolys/misc/intvec.h
r9dba83b r7fe9e13 56 56 inline int& operator[](int i) 57 57 { 58 #ifndef NDEBUG58 #ifndef SING_NDEBUG 59 59 if((i<0)||(i>=row*col)) 60 60 { … … 66 66 inline const int& operator[](int i) const 67 67 { 68 #ifndef NDEBUG68 #ifndef SING_NDEBUG 69 69 if((i<0)||(i>=row*col)) 70 70 { … … 88 88 inline void length(int l) { row = l; col = 1; } 89 89 void show(int mat=0,int spaces=0) const; 90 #ifndef NDEBUG90 #ifndef SING_NDEBUG 91 91 void view() const; 92 92 #endif -
libpolys/polys/Makefile.am
r9dba83b r7fe9e13 7 7 # NODEBUGCFLAGS = -O3 -w -fomit-frame-pointer 8 8 # NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer 9 # NODEBUGDEFS = -D NDEBUG -DOM_NDEBUG9 # NODEBUGDEFS = -DSING_NDEBUG -DOM_NDEBUG 10 10 DEBUGCXXFLAGS = 11 11 NODEBUGCFLAGS = -
libpolys/polys/clapsing.cc
r9dba83b r7fe9e13 525 525 return TRUE; 526 526 } 527 #ifndef NDEBUG527 #ifndef SING_NDEBUG 528 528 // checking the result of extgcd: 529 529 poly dummy; … … 959 959 else if (r->cf->extRing!=NULL) /* Q(a), Fp(a) */ 960 960 { 961 #ifndef NDEBUG961 #ifndef SING_NDEBUG 962 962 intvec *w=NULL; 963 963 if (v!=NULL) w=*v; … … 965 965 if (r->cf->extRing->qideal==NULL) 966 966 { 967 #ifdef NDEBUG967 #ifdef SING_NDEBUG 968 968 res->m[j]= convFactoryPSingTrP( J.getItem().factor(),r ); 969 969 #else … … 978 978 else 979 979 { 980 #ifdef NDEBUG980 #ifdef SING_NDEBUG 981 981 res->m[j]= convFactoryAPSingAP( J.getItem().factor(),r ); 982 982 #else … … 991 991 } 992 992 } 993 #ifndef NDEBUG993 #ifndef SING_NDEBUG 994 994 if ((r->cf->extRing!=NULL) && (!p_IsConstantPoly(ff,r))) 995 995 { -
libpolys/polys/mod_raw.cc
r9dba83b r7fe9e13 50 50 static BOOLEAN warn_proc = FALSE; 51 51 #ifndef DL_TAIL 52 #ifdef NDEBUG52 #ifdef SING_NDEBUG 53 53 #define DL_TAIL ".so" 54 54 #else -
libpolys/polys/monomials/p_polys.cc
r9dba83b r7fe9e13 47 47 // #include <???/int64vec.h> 48 48 49 #ifndef NDEBUG49 #ifndef SING_NDEBUG 50 50 // #include <???/febase.h> 51 51 #endif … … 160 160 BOOLEAN pSetm_error=0; 161 161 162 #ifndef NDEBUG162 #ifndef SING_NDEBUG 163 163 # define MYTEST 0 164 #else /* ifndef NDEBUG */164 #else /* ifndef SING_NDEBUG */ 165 165 # define MYTEST 0 166 #endif /* ifndef NDEBUG */166 #endif /* ifndef SING_NDEBUG */ 167 167 168 168 void p_Setm_General(poly p, const ring r) … … 354 354 assume(p != NULL); 355 355 356 #ifndef NDEBUG356 #ifndef SING_NDEBUG 357 357 #if MYTEST 358 358 Print("p_Setm_General: ro_isTemp ord: pos: %d, p: ", pos); p_DebugPrint(p, r, r, 1); … … 381 381 } 382 382 } 383 #ifndef NDEBUG383 #ifndef SING_NDEBUG 384 384 for( int i = 1; i <= r->N; i++ ) // No v[0] here!!! 385 385 { … … 402 402 case ro_is: 403 403 { 404 #ifndef NDEBUG404 #ifndef SING_NDEBUG 405 405 #if MYTEST 406 406 Print("p_Setm_General: ro_is ord: pos: %d, p: ", pos); p_DebugPrint(p, r, r, 1); … … 420 420 if( F != NULL && c > limit ) 421 421 { 422 #ifndef NDEBUG422 #ifndef SING_NDEBUG 423 423 #if MYTEST 424 424 Print("p_Setm_General: ro_is : in rSetm: pos: %d, c: %d > limit: %d\n", c, pos, limit); // p_DebugPrint(p, r, r, 1); … … 449 449 assume(pp != NULL); 450 450 451 #ifndef NDEBUG451 #ifndef SING_NDEBUG 452 452 #if MYTEST 453 453 Print("Respective F[c - %d: %d] pp: ", limit, c); … … 462 462 // const int st = o->data.isTemp.start; 463 463 464 #ifndef NDEBUG464 #ifndef SING_NDEBUG 465 465 Print("p_Setm_General: is(-Temp-) :: c: %d, limit: %d, [st:%d] ===>>> %ld\n", c, limit, start, p->exp[start]); 466 466 #endif … … 483 483 484 484 485 #ifndef NDEBUG485 #ifndef SING_NDEBUG 486 486 const int* const pVarOffset = o->data.is.pVarOffset; 487 487 … … 513 513 p->exp[vo] = c; // initial component v[0]! 514 514 515 #ifndef NDEBUG515 #ifndef SING_NDEBUG 516 516 #if MYTEST 517 517 Print("ELSE p_Setm_General: ro_is :: c: %d <= limit: %d, vo: %d, exp: %d\n", c, limit, vo, p->exp[vo]); … … 682 682 return j; 683 683 684 #ifndef NDEBUG684 #ifndef SING_NDEBUG 685 685 default: 686 686 Print("missing order %d in p_WTotaldegree\n",r->order[i]); -
libpolys/polys/monomials/ring.cc
r9dba83b r7fe9e13 326 326 { 327 327 assume( l == 0 ); 328 #ifndef NDEBUG328 #ifndef SING_NDEBUG 329 329 Print(" syzcomp at %d",r->typ[l].data.syz.limit); 330 330 #endif … … 1405 1405 if (copy_qideal) 1406 1406 { 1407 #ifndef NDEBUG1407 #ifndef SING_NDEBUG 1408 1408 if (!copy_ordering) 1409 1409 WerrorS("internal error: rCopy0(Q,TRUE,FALSE)"); … … 1411 1411 #endif 1412 1412 { 1413 #ifndef NDEBUG1413 #ifndef SING_NDEBUG 1414 1414 WarnS("internal bad stuff: rCopy0(Q,TRUE,TRUE)"); 1415 1415 #endif … … 1561 1561 if (copy_qideal) 1562 1562 { 1563 #ifndef NDEBUG1563 #ifndef SING_NDEBUG 1564 1564 if (!copy_ordering) 1565 1565 WerrorS("internal error: rCopy0(Q,TRUE,FALSE)"); … … 1567 1567 #endif 1568 1568 { 1569 #ifndef NDEBUG1569 #ifndef SING_NDEBUG 1570 1570 WarnS("internal bad stuff: rCopy0(Q,TRUE,TRUE)"); 1571 1571 #endif … … 2315 2315 } 2316 2316 2317 #ifndef NDEBUG2317 #ifndef SING_NDEBUG 2318 2318 # define MYTEST 0 2319 #else /* ifndef NDEBUG */2319 #else /* ifndef SING_NDEBUG */ 2320 2320 # define MYTEST 0 2321 #endif /* ifndef NDEBUG */2321 #endif /* ifndef SING_NDEBUG */ 2322 2322 2323 2323 static void rO_ISPrefix(int &place, int &bitplace, int &prev_ord, … … 2610 2610 case ringorder_S: 2611 2611 { 2612 #ifndef NDEBUG2612 #ifndef SING_NDEBUG 2613 2613 Warn("Error: unhandled ordering in rModifyRing: ringorder_S = [%d]", r_ord); 2614 2614 #endif … … 2666 2666 if (omit_comp) 2667 2667 { 2668 #ifndef NDEBUG2668 #ifndef SING_NDEBUG 2669 2669 Warn("Error: WRONG USAGE of rModifyRing: cannot omit component due to the ordering block [%d]: %d (ringorder_IS)", i, r_ord); 2670 2670 #endif … … 2680 2680 if (omit_comp) 2681 2681 { 2682 #ifndef NDEBUG2682 #ifndef SING_NDEBUG 2683 2683 Warn("WRONG USAGE? of rModifyRing: omitting component due to the ordering block [%d]: %d (ringorder_s)", i, r_ord); 2684 2684 #endif … … 2786 2786 if ( nc_rComplete(r, res, false) ) // no qideal! 2787 2787 { 2788 #ifndef NDEBUG2788 #ifndef SING_NDEBUG 2789 2789 WarnS("error in nc_rComplete"); 2790 2790 #endif … … 2843 2843 if ( nc_rComplete(r, res, false) ) // no qideal! 2844 2844 { 2845 #ifndef NDEBUG2845 #ifndef SING_NDEBUG 2846 2846 WarnS("error in nc_rComplete"); 2847 2847 #endif … … 2904 2904 if ( nc_rComplete(r, res, false) ) // no qideal! 2905 2905 { 2906 #ifndef NDEBUG2906 #ifndef SING_NDEBUG 2907 2907 WarnS("error in nc_rComplete"); 2908 2908 #endif … … 3257 3257 if( rGetISPos(0, r) != -1 ) // Are there Schreyer induced blocks? 3258 3258 { 3259 #ifndef NDEBUG3259 #ifndef SING_NDEBUG 3260 3260 assume( r->pFDeg == p_Deg || r->pFDeg == p_WTotaldegree || r->pFDeg == p_Totaldegree); 3261 3261 #endif … … 3808 3808 assume( r->typ[i].data.syzcomp.Components == NULL ); 3809 3809 // WarnS( "rUnComplete : ord_typ == ro_syzcomp was unhandled!!! Possibly memory leak!!!" ); 3810 #ifndef NDEBUG3810 #ifndef SING_NDEBUG 3811 3811 // assume(0); 3812 3812 #endif … … 4010 4010 4011 4011 Print(" limit %d",r->typ[j].data.is.limit); 4012 #ifndef NDEBUG4012 #ifndef SING_NDEBUG 4013 4013 //PrintS(" F: ");idShow(r->typ[j].data.is.F, r, r, 1); 4014 4014 #endif … … 4176 4176 4177 4177 4178 #ifndef NDEBUG4178 #ifndef SING_NDEBUG 4179 4179 /// debug-print at most nTerms (2 by default) terms from poly/vector p, 4180 4180 /// assuming that lt(p) lives in lmRing and tail(p) lives in tailRing. … … 4328 4328 if ( r->order[0] == ringorder_IS ) 4329 4329 { 4330 #ifndef NDEBUG4330 #ifndef SING_NDEBUG 4331 4331 WarnS("rAssure_SyzComp: input ring has an IS-ordering!"); 4332 4332 #endif … … 4364 4364 if ( nc_rComplete(r, res, false) ) // no qideal! 4365 4365 { 4366 #ifndef NDEBUG4366 #ifndef SING_NDEBUG 4367 4367 WarnS("error in nc_rComplete"); // cleanup?// rDelete(res);// return r; // just go on.. 4368 4368 #endif … … 4468 4468 if ( nc_rComplete(r, res, false) ) // no qideal! 4469 4469 { 4470 #ifndef NDEBUG4470 #ifndef SING_NDEBUG 4471 4471 WarnS("error in nc_rComplete"); 4472 4472 #endif … … 4541 4541 if ( nc_rComplete(r, new_r, false) ) // no qideal! 4542 4542 { 4543 #ifndef NDEBUG4543 #ifndef SING_NDEBUG 4544 4544 WarnS("error in nc_rComplete"); // cleanup?// rDelete(res);// return r; // just go on.. 4545 4545 #endif … … 4592 4592 if ( nc_rComplete(r, new_r, false) ) // no qideal! 4593 4593 { 4594 #ifndef NDEBUG4594 #ifndef SING_NDEBUG 4595 4595 WarnS("error in nc_rComplete"); // cleanup?// rDelete(res);// return r; // just go on.. 4596 4596 #endif … … 4626 4626 if ( nc_rComplete(old_r, new_r, false) ) // no qideal! 4627 4627 { 4628 # ifndef NDEBUG4628 # ifndef SING_NDEBUG 4629 4629 WarnS("error in nc_rComplete"); // cleanup? rDelete(res); return r; // just go on...? 4630 4630 # endif … … 4644 4644 if( nc_SetupQuotient(new_r, old_r, true) ) 4645 4645 { 4646 #ifndef NDEBUG4646 #ifndef SING_NDEBUG 4647 4647 WarnS("error in nc_SetupQuotient"); // cleanup? rDelete(res); return r; // just go on...? 4648 4648 #endif … … 4700 4700 if ( nc_rComplete(r, res, false) ) // no qideal! 4701 4701 { 4702 #ifndef NDEBUG4702 #ifndef SING_NDEBUG 4703 4703 WarnS("error in nc_rComplete"); 4704 4704 #endif … … 4780 4780 if ( nc_rComplete(r, res, false) ) // no qideal! 4781 4781 { 4782 #ifndef NDEBUG4782 #ifndef SING_NDEBUG 4783 4783 WarnS("error in nc_rComplete"); // cleanup?// rDelete(res);// return r; // just go on.. 4784 4784 #endif … … 4963 4963 if(k < r->typ[0].data.syz.limit) // ? 4964 4964 { 4965 #ifndef NDEBUG4965 #ifndef SING_NDEBUG 4966 4966 Warn("rSetSyzComp called with smaller limit (%d) as before (%d)", k, r->typ[0].data.syz.limit); 4967 4967 #endif … … 4979 4979 { 4980 4980 // (r->typ[currRing->typ[0].data.isTemp.suffixpos].data.is.limit == k) 4981 #ifndef NDEBUG4981 #ifndef SING_NDEBUG 4982 4982 Warn("rSetSyzComp(%d) in an IS ring! Be careful!", k); 4983 4983 #endif -
libpolys/polys/monomials/ring.h
r9dba83b r7fe9e13 794 794 #endif 795 795 796 #ifndef NDEBUG796 #ifndef SING_NDEBUG 797 797 /// debug-print at most nTerms (2 by default) terms from poly/vector p, 798 798 /// assuming that lt(p) lives in lmRing and tail(p) lives in tailRing. -
libpolys/polys/nc/ncSACache.cc
r9dba83b r7fe9e13 23 23 #include <misc/auxiliary.h> 24 24 25 #ifndef NDEBUG25 #ifndef SING_NDEBUG 26 26 #define OUTPUT MYTEST 27 27 #else -
libpolys/polys/nc/ncSAFormula.cc
r9dba83b r7fe9e13 27 27 #define PLURAL_INTERNAL_DECLARATIONS 28 28 29 #ifndef NDEBUG29 #ifndef SING_NDEBUG 30 30 #define OUTPUT MYTEST 31 31 #else -
libpolys/polys/nc/ncSAMult.cc
r9dba83b r7fe9e13 26 26 27 27 28 #ifndef NDEBUG28 #ifndef SING_NDEBUG 29 29 #define OUTPUT MYTEST 30 30 #else -
libpolys/polys/nc/old.gring.cc
r9dba83b r7fe9e13 2796 2796 2797 2797 2798 #ifndef NDEBUG2798 #ifndef SING_NDEBUG 2799 2799 id_Test((ideal)CCC, curr); 2800 2800 id_Test((ideal)DDD, curr); … … 2896 2896 MATELEM(C,i,j) = prCopyR_NoSort(CN, curr, r); // nc_p_CopyPut(CN, r); // copy CN from curr into r 2897 2897 2898 #ifndef NDEBUG2898 #ifndef SING_NDEBUG 2899 2899 id_Test((ideal)C, r); 2900 2900 #endif … … 2937 2937 { 2938 2938 C = mp_Copy(CC, curr, r); // Copy C into r!!!??? 2939 #ifndef NDEBUG2939 #ifndef SING_NDEBUG 2940 2940 id_Test((ideal)C, r); 2941 2941 #endif … … 2969 2969 for(j=i+1; j<=r->N; j++) 2970 2970 MATELEM(D,i,j) = prCopyR_NoSort(DN, curr, r); // project DN into r->GetNC()->basering! 2971 #ifndef NDEBUG2971 #ifndef SING_NDEBUG 2972 2972 id_Test((ideal)D, r); 2973 2973 #endif … … 2996 2996 { 2997 2997 D = mp_Copy(DD, curr, r); // Copy DD into r!!! 2998 #ifndef NDEBUG2998 #ifndef SING_NDEBUG 2999 2999 id_Test((ideal)D, r); 3000 3000 #endif … … 3047 3047 if (r->GetNC() != NULL) 3048 3048 { 3049 #ifndef NDEBUG3049 #ifndef SING_NDEBUG 3050 3050 WarnS("Changing the NC-structure of an existing NC-ring!!!"); 3051 3051 #endif -
libpolys/polys/simpleideals.h
r9dba83b r7fe9e13 39 39 ideal_list next; 40 40 ideal d; 41 #ifndef NDEBUG41 #ifndef SING_NDEBUG 42 42 int nr; 43 43 #endif -
libpolys/polys/templates/p_Procs_Dynamic.cc
r9dba83b r7fe9e13 206 206 { 207 207 char* name = omStrDup(proc_name); 208 #if (!defined( NDEBUG)) && (!defined(OM_NDEBUG)) && defined(HAVE_CONFIG_H)208 #if (!defined(SING_NDEBUG)) && (!defined(OM_NDEBUG)) && defined(HAVE_CONFIG_H) 209 209 omMarkAsStaticAddr(name); 210 210 #endif -
libpolys/polys/templates/p_Procs_Set.h
r9dba83b r7fe9e13 182 182 */ 183 183 #ifdef HAVE_PLURAL 184 #ifndef NDEBUG184 #ifndef SING_NDEBUG 185 185 if (rIsPluralRing(r)) 186 186 { -
libpolys/reporter/Makefile.am
r9dba83b r7fe9e13 23 23 # # -fdiagnostics-show-option 24 24 25 # libreporter_la_CPPFLAGS = ${AM_CPPFLAGS} -D NDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H25 # libreporter_la_CPPFLAGS = ${AM_CPPFLAGS} -DSING_NDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H 26 26 # libreporter_g_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 27 27 # libreporter_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -
libpolys/reporter/reporter.cc
r9dba83b r7fe9e13 72 72 feBuffer=(char *)omReallocSize((void *)feBuffer,feBufferLength, 73 73 more); 74 #if (!defined( NDEBUG)) && (!defined(OM_NDEBUG)) && defined(HAVE_CONFIG_H)74 #if (!defined(SING_NDEBUG)) && (!defined(OM_NDEBUG)) && defined(HAVE_CONFIG_H) 75 75 omMarkAsStaticAddr(feBuffer); 76 76 #endif -
libsingular-config.in
r9dba83b r7fe9e13 88 88 89 89 --cflags) 90 ${ECHOn} " -I${includedir} -I${includedir}/singular @FACTORY_CFLAGS@ @NTL_CFLAGS@ @GMP_CFLAGS@ -D NDEBUG -DOM_NDEBUG"90 ${ECHOn} " -I${includedir} -I${includedir}/singular @FACTORY_CFLAGS@ @NTL_CFLAGS@ @GMP_CFLAGS@ -DSING_NDEBUG -DOM_NDEBUG" 91 91 ;; 92 92 -
m4/flags.m4
r9dba83b r7fe9e13 75 75 # else 76 76 # AC_DEFINE([OM_NDEBUG],1,"Disable OM Debug") 77 # AC_DEFINE([ NDEBUG],1,"Disable Debug")77 # AC_DEFINE([SING_NDEBUG],1,"Disable Debug") 78 78 fi 79 79 … … 109 109 110 110 if test "x${ENABLE_OPTIMIZATION}" != xno; then 111 OPTFLAGS="-DOM_NDEBUG -D NDEBUG -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-rtti -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops"111 OPTFLAGS="-DOM_NDEBUG -DSING_NDEBUG -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-rtti -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops" 112 112 # -O3 - crashes gcc???!!! 113 113 # -fpermissive -
numeric/Makefile.am
r9dba83b r7fe9e13 22 22 AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/libpolys -I${top_builddir}/libpolys ${GMP_CFLAGS} -I${top_srcdir}/factory/include -I${top_builddir}/factory/include ${FACTORY_CFLAGS} ${NTL_CFLAGS} -DHAVE_CONFIG_H 23 23 24 # libnumeric_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -D NDEBUG -DOM_NDEBUG24 # libnumeric_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DSING_NDEBUG -DOM_NDEBUG 25 25 # libnumeric_g_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 26 26 # libnumeric_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -
resources/Makefile.am
r9dba83b r7fe9e13 25 25 # libresources_la_CPPFLAGS += ${AM_CPPFLAGS} 26 26 27 #libresources_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -D NDEBUG -DOM_NDEBUG27 #libresources_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DSING_NDEBUG -DOM_NDEBUG 28 28 #libresources_g_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 29 29 -
tests/Singular/test_ipid.hpp
r9dba83b r7fe9e13 2 2 #define _test_ipid_hpp_ 3 3 4 #define NDEBUG4 #define SING_NDEBUG 5 5 6 6 -
xalloc/Makefile.am
r9dba83b r7fe9e13 18 18 ### libomalloc_la_LDFLAGS = -release ${PACKAGE_VERSION} 19 19 20 # libomalloc_la_CPPFLAGS += ${AM_CPPFLAGS} -DHAVE_CONFIG_H -D NDEBUG -DOM_NDEBUG20 # libomalloc_la_CPPFLAGS += ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DSING_NDEBUG -DOM_NDEBUG 21 21 # libomalloc_la_CPPFLAGS = ${AM_CPPFLAGS} 22 22
Note: See TracChangeset
for help on using the changeset viewer.