Changeset 4439165 in git


Ignore:
Timestamp:
Jun 4, 2009, 11:43:40 AM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
6b4ff12d5de7adf31773c3e899c7c53eb35be584
Parents:
b944aeb23ada7c1ab93a9eed868cb9e4009e743f
Message:
*hannes: gcc 4.3


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

Legend:

Unmodified
Added
Removed
  • MP/MP/MP.h

    rb944aeb r4439165  
    903903                                             unsigned long len));
    904904
    905 EXTERN MP_Status_t IMP_PutBytes _ANSI_ARGS_((MP_Link_pt link, char *addr,
     905EXTERN MP_Status_t IMP_PutBytes _ANSI_ARGS_((MP_Link_pt link, const char *addr,
    906906                                             unsigned long len));
    907907
  • MP/MP/MP_BigNum.c

    rb944aeb r4439165  
    1010
    1111#include "MP.h"
     12#include <string.h>
    1213
    1314MP_BigIntOps_t imp_dummy_bigint_ops =
  • MP/MP/MP_GmpBigReal.c

    rb944aeb r4439165  
    1212
    1313#include "MP.h"
     14#include <string.h>
    1415
    1516#ifdef MP_HAVE_GMP_APREAL
  • MP/MP/MP_Link.c

    rb944aeb r4439165  
    140140
    141141#ifndef lint
    142 static char vcid[] = "@(#) $Id: MP_Link.c,v 1.6 2008-07-09 07:42:23 Singular Exp $";
     142static char vcid[] = "@(#) $Id: MP_Link.c,v 1.7 2009-06-04 09:43:40 Singular Exp $";
    143143#endif /* lint */
    144144
    145145#include "MP.h"
     146#include <string.h>
    146147
    147148#define log_msg_len 128
     
    874875#ifdef __STDC__
    875876MP_Status_t IMP_PutBytes(MP_Link_pt    link,
    876                          char *       addr,
     877                         const char *  addr,
    877878                         unsigned long len)
    878879#else
    879880MP_Status_t IMP_PutBytes(link, addr, len)
    880881    MP_Link_pt    link;
    881     char *       addr;
     882    const char *  addr;
    882883    unsigned long len;
    883884#endif
  • MP/MP/MP_Put.c

    rb944aeb r4439165  
    7979
    8080#include "MP.h"
     81#include <string.h>
    8182
    8283
     
    380381
    381382#ifdef __STDC__
    382 MP_Status_t common_put_string(MP_Link_pt link, char *s)
     383MP_Status_t common_put_string(MP_Link_pt link, const char *s)
    383384#else
    384385MP_Status_t common_put_string(link, s)
    385386    MP_Link_pt  link;
    386     char       *s;
     387    const char       *s;
    387388#endif
    388389{
  • MP/MP/h/MP_Link.h

    rb944aeb r4439165  
    127127                                             unsigned long len));
    128128
    129 EXTERN MP_Status_t IMP_PutBytes _ANSI_ARGS_((MP_Link_pt link, char *addr,
     129EXTERN MP_Status_t IMP_PutBytes _ANSI_ARGS_((MP_Link_pt link, const char *addr,
    130130                                             unsigned long len));
    131131
  • MP/MPT/MPT.h

    rb944aeb r4439165  
    203203
    204204/* defined in MPT_Error.c */
    205 extern char *MPT_errlist[];
     205extern const char *MPT_errlist[];
    206206
    207207extern MPT_Status_t MPT_CheckStatus();
    208 extern char* MPT_ErrorStr(MPT_Status_t error);
    209 extern char* MPT_LinkErrorStr(MP_Link_pt link, MPT_Status_t error);
     208extern const char* MPT_ErrorStr(MPT_Status_t error);
     209extern const char* MPT_LinkErrorStr(MP_Link_pt link, MPT_Status_t error);
    210210
    211211/* #define MPT_DEBUG 1 */
  • MP/MPT/MPT_Error.cc

    rb944aeb r4439165  
    1212#include "MPT.h"
    1313
    14 char *MPT_errlist[] =
     14const char *MPT_errlist[] =
    1515{
    1616  "MPT: MPT_Failure",
     
    3838}
    3939
    40 char*  MPT_ErrorStr(MPT_Status_t error)
     40const char*  MPT_ErrorStr(MPT_Status_t error)
    4141{
    4242  if (error < MPT_MaxError && error > 0)
     
    4646}
    4747
    48 char* MPT_LinkErrorStr(MP_Link_pt link, MPT_Status_t error)
     48const char* MPT_LinkErrorStr(MP_Link_pt link, MPT_Status_t error)
    4949{
    5050  if (error == MPT_MP_Failure &&
  • MP/MPT/MPT_GP.h

    rb944aeb r4439165  
    7676} * MPT_GP_Iterator_pt;
    7777
    78 typedef class MPT_GP_ValueIterator_t : public MPT_GP_Iterator_t
     78class MPT_GP_ValueIterator_t : public MPT_GP_Iterator_t
    7979{
    8080public:
Note: See TracChangeset for help on using the changeset viewer.