Changeset cade17 in git


Ignore:
Timestamp:
Feb 18, 2015, 11:38:00 AM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
a294d26f9967f3b94f4040cd3991ef2561323a5a
Parents:
9f7a9cd448041b035d092b0dcf11b4d5f14ac002
Message:
change: use of Werror/WerrorS
Location:
Singular/dyn_modules/gfanlib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/dyn_modules/gfanlib/tropical.cc

    r9f7a9c rcade17  
    245245      catch (const std::exception& ex)
    246246      {
    247         WerrorS("ERROR: "); WerrorS(ex.what()); WerrorS("\n");
     247        Werror("ERROR: %s",ex.what());
    248248        return TRUE;
    249249      }
     
    279279      catch (const std::exception& ex)
    280280      {
    281         WerrorS("ERROR: "); WerrorS(ex.what()); WerrorS("\n");
     281        Werror("ERROR: %s",ex.what());
    282282        return TRUE;
    283283      }
     
    338338      catch (const std::exception& ex)
    339339      {
    340         WerrorS("ERROR: "); WerrorS(ex.what()); WerrorS("\n");
     340        Werror("ERROR: %s",ex.what());
    341341        return TRUE;
    342342      }
     
    357357      catch (const std::exception& ex)
    358358      {
    359         WerrorS("ERROR: "); WerrorS(ex.what()); WerrorS("\n");
     359        Werror("ERROR: %s",ex.what());
    360360        return TRUE;
    361361      }
     
    425425      catch (const std::exception& ex)
    426426      {
    427         WerrorS("ERROR: "); WerrorS(ex.what()); WerrorS("\n");
     427        Werror("ERROR: %s",ex.what());
    428428        return TRUE;
    429429      }
  • Singular/dyn_modules/gfanlib/tropicalVariety.cc

    r9f7a9c rcade17  
    6666      catch (const std::exception& ex)
    6767      {
    68         WerrorS("ERROR: "); WerrorS(ex.what()); WerrorS("\n");
     68        Werror("ERROR: %s",ex.what());
    6969        return TRUE;
    7070      }
     
    9090      catch (const std::exception& ex)
    9191      {
    92         WerrorS("ERROR: "); WerrorS(ex.what()); WerrorS("\n");
     92        Werror("ERROR: %s",ex.what());
    9393        return TRUE;
    9494      }
     
    116116        catch (const std::exception& ex)
    117117        {
    118           WerrorS("ERROR: "); WerrorS(ex.what()); WerrorS("\n");
     118          Werror("ERROR: %s",ex.what());
    119119          return TRUE;
    120120        }
     
    136136        catch (const std::exception& ex)
    137137        {
    138           WerrorS("ERROR: "); WerrorS(ex.what()); WerrorS("\n");
     138          Werror("ERROR: %s",ex.what());
    139139          return TRUE;
    140140        }
     
    162162      catch (const std::exception& ex)
    163163      {
    164         WerrorS("ERROR: "); WerrorS(ex.what()); WerrorS("\n");
     164        Werror("ERROR: %s",ex.what());
    165165        return TRUE;
    166166      }
     
    185185      catch (const std::exception& ex)
    186186      {
    187         WerrorS("ERROR: "); WerrorS(ex.what()); WerrorS("\n");
     187        Werror("ERROR: %s",ex.what());
    188188        return TRUE;
    189189      }
Note: See TracChangeset for help on using the changeset viewer.