Changeset 8b1af6 in git for Singular/misc_ip.cc


Ignore:
Timestamp:
Nov 6, 2013, 2:30:52 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
93fc820b11e13b03357f9d05061a1954e37d658c
Parents:
75761633171290fa9ee90c7fc19a9d9bfba3534911ab4e8595e6e90a6b646949f46d516f88a72015
Message:
Merge pull request #389 from jankoboehm/spielwiese

Gerhards fix for zeroRad und some typos
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/misc_ip.cc

    r11ab4e r8b1af6  
    360360  {
    361361    multiplicitiesL->m[i].rtyp = INT_CMD;
    362     multiplicitiesL->m[i].data = (void*)multiplicities[i];
     362    multiplicitiesL->m[i].data = (void*)(long)multiplicities[i];
    363363  }
    364364  omFree(multiplicities);
     
    786786  StringAppend("Singular for %s version %s (%s, %d bit) %s #%s",
    787787               S_UNAME, S_VERSION1, // SINGULAR_VERSION,
    788                PACKAGE_VERSION, SIZEOF_LONG*8, singular_date, GIT_VERSION);
     788               PACKAGE_VERSION, SIZEOF_VOIDP*8, singular_date, GIT_VERSION);
    789789  StringAppendS("\nwith\n\t");
    790 #ifdef HAVE_FACTORY
    791   StringAppend("factory(%s){'%s','%s'}", factoryVersion, FACTORY_CFLAGS, FACTORY_LIBS);
    792 #ifdef HAVE_LIBFAC
    793   // libfac:
    794 //  extern const char * libfac_version;
    795 //  extern const char * libfac_date;
    796   StringAppend("+libfac");
    797 #endif // #ifdef HAVE_LIBFAC
    798   StringAppend(",");
    799 #endif
    800790
    801791#if defined (__GNU_MP_VERSION) && defined (__GNU_MP_VERSION_MINOR)
    802               StringAppend("GMP(%d.%d){'%s','%s'},",__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR, GMP_CFLAGS, GMP_LIBS);
    803 #else
    804               StringAppendS("GMP(1.3),");
     792              StringAppend("GMP(%d.%d),",__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR);
    805793#endif
    806794#ifdef HAVE_NTL
    807795#include <NTL/version.h>
    808               StringAppend("NTL(%s){'%s','%s'},",NTL_VERSION, NTL_CFLAGS, NTL_LIBS);
    809 #endif
    810 
    811 #ifdef HAVE_FACTORY
     796              StringAppend("NTL(%s),",NTL_VERSION);
     797#endif
     798
    812799#ifdef HAVE_FLINT
    813800              StringAppend("FLINT(%s){'%s','%s'},",version, FLINT_CFLAGS, FLINT_LIBS);
    814801#endif
    815 #endif
    816 
    817 #if SIZEOF_VOIDP == 8
    818               StringAppendS("64bit,");
    819 #else
    820               StringAppendS("32bit,");
    821 #endif
     802
    822803#if defined(HAVE_DYN_RL)
    823804              if (fe_fgets_stdin==fe_fgets_dummy)
     
    856837#endif
    857838              if (p_procs_dynamic) StringAppendS("dynamic p_Procs,");
    858 #ifdef TEST
    859               StringAppendS("TESTs,");
    860 #endif
    861839#if YYDEBUG
    862840              StringAppendS("YYDEBUG=1,");
Note: See TracChangeset for help on using the changeset viewer.