Changeset 7efc7be in tol


Ignore:
Timestamp:
Jun 8, 2012, 2:37:55 PM (14 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
78e136b
Parents:
352fe38
Message:

Fixes #1554
Disables all CINT features

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@4787 be4846ae-f051-483a-831f-b64e7d08527f

Location:
tol
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tol/contrib/cint/tolCint.cpp

    r352fe38 r7efc7be  
    170170    return(-1);
    171171  }
    172   return((*G__init_cint_ptr)(command));
     172  int res = (*G__init_cint_ptr)(command);
     173  return(res);
    173174}
    174175
  • tol/init.cpp

    r352fe38 r7efc7be  
    6767#include <gsl/gsl_errno.h>
    6868#include <tol/tol_bnameblock.h>
    69 #include <contrib/cint/tolCint.h>
    7069
    7170#include <time.h>
    … …  
    133132//--------------------------------------------------------------------
    134133{
    135   Cint_initialize("");
     134//  Cint_initialize("");
    136135}
    137136
    … …  
    475474{
    476475  static BBool initGrammars_ = BFALSE;
    477   TRACE_CINT_DECIMAL;
    478 
    479   InitCint();
     476
     477//InitCint();
    480478  if(initGrammars_)  { return(false); }
    481479
    482480  signal_assign();
    483   TRACE_CINT_DECIMAL;
    484481
    485482  initGrammars_=BTRUE;
    … …  
    492489  TrcIGSL("LC_NUMERIC=C");
    493490  setlocale( LC_NUMERIC, "C");
    494   TRACE_CINT_DECIMAL;
    495491
    496492  TrcIG("System tools: ");
    … …  
    499495  TrcIGS(BText("Small Block Heap=")<<sbh);
    500496  _set_sbh_threshold(sbh);
    501   TRACE_CINT_DECIMAL;
    502497# endif
    503498# if defined(__USE_GBLA__)
    … …  
    506501  TrcIGS("GBLA");
    507502  if(!BLAPI_Init()) return false;
    508   TRACE_CINT_DECIMAL;
    509503  //------------------------------
    510504# endif
    511505  TrcIGS("GSL");
    512506  GslInitialize();
    513   TRACE_CINT_DECIMAL;
    514507  TrcIGS("Parser");
    515508  BParser::InitDefaultParser();
    516   TRACE_CINT_DECIMAL;
    517509  TrcIGS("Global Hashed Table");
    518510  BGrammar::Initialize();
    519   TRACE_CINT_DECIMAL;
    520511  TrcIGS("Local Stack Manager");
    521512  BStackManager::Initialize();
    522   TRACE_CINT_DECIMAL;
    523513
    524514  TrcIG("System types: ");
    … …  
    527517  //--------------------------------------------------
    528518  BAnyGrammar::InitGrammar();
    529   TRACE_CINT_DECIMAL;
    530519
    531520  //--------------------------------------------------
    … …  
    546535            BCopyContens<BDat>::New,
    547536            BFunArgContens<BDat>::NewLocal);
    548   TRACE_CINT_DECIMAL;
    549537
    550538  //--------------------------------------------------
    … …  
    563551           BCopyContens<BText>::New,
    564552           BFunArgContens<BText>::NewLocal);
    565   TRACE_CINT_DECIMAL;
    566553
    567554  //--------------------------------------------------
    … …  
    580567            BCopyContens<BDate>::New,
    581568            BFunArgContens<BDate>::NewLocal);
    582   TRACE_CINT_DECIMAL;
    583569
    584570  //--------------------------------------------------
    … …  
    855841    TrcIGS("Special functions");
    856842    BSpecialFunction::Initialize();
    857   TRACE_CINT_DECIMAL;
    858843
    859844    TrcIG("Built-in objects: ");
    … …  
    897882    TrcIGSL("AIA: Automatic Intervention Analisis");
    898883        BAia::StaticInit();     
    899   TRACE_CINT_DECIMAL;
    900884    TrcIGSL("OIS: Objects Indexed Serialization");
    901885    BOis::Initialize();
    902   TRACE_CINT_DECIMAL;
    903886    BGrammar::PutLast(GraSet());
    904887#   if defined(USE_DELAY_INIT)
    … …  
    909892    TrcIGS("Methods");
    910893    BuildMethodFunctions();
    911   TRACE_CINT_DECIMAL;
    912894
    913895  //initializing tools
    … …  
    923905        "SVN desde el que se ha generado la presente versión de TOL."));
    924906
    925   Cint_initialize_tol_variables();
    926 
    927   TRACE_CINT_DECIMAL;
     907//Cint_initialize_tol_variables();
     908
    928909    int BTolOprProfiler_Init();
    929910    BTolOprProfiler_Init();
    930   TRACE_CINT_DECIMAL;
    931911
    932912  _tolVersion_ = TOLVersion();
    … …  
    12691249//--------------------------------------------------------------------
    12701250{
    1271   TRACE_CINT_DECIMAL;
    12721251  static bool done_ = false;
    12731252  if(done_) { return; }
    12741253  else      { done_ = true; }
    1275   TRACE_CINT_DECIMAL;
    12761254
    12771255  BDir initTolPath = InitTolPath();
    … …  
    12851263    }
    12861264  }
    1287   TRACE_CINT_DECIMAL;
    12881265}
    12891266
    … …  
    14971474//--------------------------------------------------------------------
    14981475{
    1499   InitCint();
     1476//InitCint();
    15001477  if(lang>=0) { BText::PutLanguage(lang); }
    15011478  InitVerboseMode();
Note: See TracChangeset for help on using the changeset viewer.