Changeset a5da6f in git for Singular


Ignore:
Timestamp:
Sep 10, 2008, 11:33:58 AM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
8997418a77f1f100f2d81472256f182b921bcaa6
Parents:
0ec43aa4fa51ba4c252139582250a242e5dffa42
Message:
*hannes: gcc 4.2 fixes


git-svn-id: file:///usr/local/Singular/svn/trunk@11042 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/cntrlc.cc

    r0ec43a ra5da6f  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: cntrlc.cc,v 1.57 2008-09-10 09:21:29 Singular Exp $ */
     4/* $Id: cntrlc.cc,v 1.58 2008-09-10 09:33:58 Singular Exp $ */
    55/*
    66* ABSTRACT - interupt handling
     
    6161 #ifdef CALL_GDB
    6262   static void debug (int);
    63    static void debug_stop (char * const *args);
     63   static void debug_stop (char *const*args);
    6464 #endif
    6565 #ifndef __OPTIMIZE__
    6666   static void stack_trace_sigchld (int);
    67    static void stack_trace (char * const *args);
     67   static void stack_trace (char *const*args);
    6868 #endif
    6969#endif
     
    428428  int pid;
    429429  char buf[16];
    430   const char * args[4] = { "gdb", "Singularg", NULL, NULL };
     430  char * args[4] = { (char*)"gdb", (char*)"Singularg", NULL, NULL };
    431431
    432432  #ifdef HAVE_FEREAD
     
    468468}
    469469
    470 static void debug_stop (char * const *args)
     470static void debug_stop (char *const*args)
    471471{
    472472  execvp (args[0], args);
     
    478478static int stack_trace_done;
    479479
    480 static void stack_trace (char * const *args)
     480static void stack_trace (char *const*args)
    481481{
    482482  int pid;
  • Singular/tesths.cc

    r0ec43a ra5da6f  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: tesths.cc,v 1.114 2008-07-16 12:51:19 Singular Exp $ */
     4/* $Id: tesths.cc,v 1.115 2008-09-10 09:33:58 Singular Exp $ */
    55
    66/*
     
    8888  feOptSpec[FE_OPT_RANDOM].value = (void*) ((long)siRandomStart);
    8989  int optc, option_index;
    90   char* errormsg;
     90  const char* errormsg;
    9191
    9292  // do this first, because -v might print version path
Note: See TracChangeset for help on using the changeset viewer.