Peter-Lawrence . Montgomery on Tue, 18 Jul 2000 11:12:18 +0200 (MET DST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

2.0.20.beta warnings under MIPS


/* 
       If we compile version 2.0.20.beta on MIPS using the native
       compiler MIPSPro 7.2.1, IRIX 6.5) with -64 -fullwarn 
       (64-bit longs and pointers, full warnings) 
       we get over a megabyte of compiler output.
       I summarize some causes below:

1048)  warning(1048): cast between pointer-to-object and pointer-to-function

       This occurs many times in anal.c, compat.c, gp.c, highlvl.c, init.c.
       One gets it even if he does not specify -fullwarn on the cc line.
       Alas, I lack a good recommendation for a fix.
       Doing an intermediate cast to void* is not enough.
       
1413)  remark(1413) source type of cast is too small to hold all pointers.

       The resii and Fp_res macros give this warning because the
       32-bit integer 0x1 in ONLY_REM is being cast to a 64-bit pointer.  
       Changing it to 0x1L avoids the warning.
       Likewise for ONLY_DIVIDES and ONLY_DIVIDES_EXACT.

1506)  remark(1506): implicit conversion from "unsigned long"
       to "long":  rounding, sign extension, or loss of accuracy may result
      
       This is by far the most common warning.  One source is the
 
            long av = avma;     (or tetpil = avma)

       lines at the starts of procedures.  
       avma is declared as ulong in paristio.h
       but is being copied to a long without a cast.

       We also get it for  lim = stack_lim(av, 2).
       The stack_lim macro returns unsigned long
       since it references bot, which is unsigned.
       
       A third source is macros such as setexpo.
       When INLINE is not not defined, pariinl.h
       declared evallg, evallgef, evalvalp, evalexpo
       as ulong functions, with ulong arguments.
       [N.B. the inlined versions of evalvalp and evalexpo
       take long arguments.]  Macros such as setexpo
       set ((GEN)(x))[1] to an unsigned expression.

       There are many isolated places where this warning occurs.

    A listing at the end shows what remains when I alter the ONLY_REM macro 
and turn off warnings 1048, 1506.

    Let me know if anyone wants the full 1Mb output, or wants me to 
try again with a fresh version of the code.

         Peter Montgomery
         pmontgom@cwi.nl

*/

typedef long *GEN;

#define ONLY_REM ((GEN*)0x1)
#define ONLY_REM2 ((GEN*)0x1L)

GEN *t1 = ONLY_REM;               /* Warning 1413 */
GEN *t2 = ONLY_REM2;              /* No warning   */

int main(void)
{
   typedef int (*pfunc)(void);  /* Pointer to function */

   long x = 0;
   GEN p1 = &x;
   pfunc p2 = main;
   p1 = (GEN)p2;     /* Warning 1048 */
   p2 = (pfunc)p1;   /* Warning 1048 */
   
   p1 = (GEN)(void*)p2;     /* Warning 1048 */
   p2 = (pfunc)(void*)p1;   /* Warning 1048 */

   p1 = (GEN)(long)p2;      /* No warning */
   p2 = (pfunc)(long)p1;    /* No warning */
   return 0;
}
#if 0

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers -o kernel.o ../src/kernel/none/level0.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers -o mp.o ../src/kernel/none/mp.c
"../src/kernel/none/mp.c", line 299: remark(1082): storage class is not first
      const register ulong sh = BITS_IN_LONG - m;
            ^

"../src/kernel/none/mp.c", line 327: remark(1082): storage class is not first
      const register ulong sh = BITS_IN_LONG - m;
            ^

"../src/kernel/none/mp.c", line 2086: remark(1552): variable "lx" was set but
          never used
    long av = avma, k, lx;
                       ^

"../src/kernel/none/mp.c", line 2863: remark(1209): controlling expression is
          constant
      while (1)
             ^

"../src/kernel/none/mp.c", line 3158: warning(1110): statement is unreachable
    return(0);			/* never reached */
    ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o alglin1.o ../src/basemath/alglin1.c
"../src/basemath/alglin1.c", line 1859: remark(1174): parameter "T" was
          declared but never referenced
  static GEN Fq_add(GEN x, GEN y, GEN T, GEN p)
                                      ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o alglin2.o ../src/basemath/alglin2.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o arith1.o ../src/basemath/arith1.c
"../src/basemath/arith1.c", line 1397: remark(1413): source type of cast is
          too small to hold all pointers
      mul = (GEN (*)(GEN,GEN))shifti; A = (GEN)1;
                                          ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o arith2.o ../src/basemath/arith2.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o base1.o ../src/basemath/base1.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o base2.o ../src/basemath/base2.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o base3.o ../src/basemath/base3.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o base4.o ../src/basemath/base4.c
"../src/basemath/base4.c", line 1278: remark(1552): variable "dx" was set but
          never used
    GEN res,ax,m,denx,denz,dx,n1,a,alpha;
                           ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o base5.o ../src/basemath/base5.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o bibli1.o ../src/basemath/bibli1.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o bibli2.o ../src/basemath/bibli2.c
"../src/basemath/bibli2.c", line 868: remark(1692): prototyped function
          redeclared without prototype
  mymyrand()
  ^

"../src/basemath/bibli2.c", line 916: remark(1498): no prototype for the call
          to gp_rand
        p1 = muluu(n, gp_rand()); /* < n * 2^32, so 0 <= first word < n */
                      ^

"../src/basemath/bibli2.c", line 922: remark(1498): no prototype for the call
          to gp_rand
    for (i++; i<lx; i++) x[i] = gp_rand();
                                ^

"../src/basemath/bibli2.c", line 934: remark(1692): prototyped function
          redeclared without prototype
  getrand() { return pari_randseed; }
  ^

"../src/basemath/bibli2.c", line 937: remark(1692): prototyped function
          redeclared without prototype
  getstack() { return top-avma; }
  ^

"../src/basemath/bibli2.c", line 940: remark(1692): prototyped function
          redeclared without prototype
  gettime() { return timer(); }
  ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o buch1.o ../src/basemath/buch1.c
"../src/basemath/buch1.c", line 986: remark(1174): parameter "x" was declared
          but never referenced
  redrealprimeform5(GEN x, long p)
                        ^

"../src/basemath/buch1.c", line 995: remark(1174): parameter "x" was declared
          but never referenced
  redrealprimeform(GEN x, long p)
                       ^

"../src/basemath/buch1.c", line 1598: remark(1209): controlling expression is
          constant
            if (narrow)
                ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o buch2.o ../src/basemath/buch2.c
"../src/basemath/buch2.c", line 899: warning(1110): statement is unreachable
    err(bugparier,"prec_unit_matrix");
    ^

"../src/basemath/buch2.c", line 1135: remark(1552): variable "oldinvp" was set
          but never used
    GEN V,alpha,M,T2,ideal,rrr,cbase,T2vec,prvec,oldinvp;
                                                 ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o buch3.o ../src/basemath/buch3.c
"../src/basemath/buch3.c", line 444: remark(1552): variable "N" was set but
          never used
    long av=avma,i,j,c,N,ngen,ngzk;
                       ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o buch4.o ../src/basemath/buch4.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o galconj.o ../src/basemath/galconj.c
"../src/basemath/galconj.c", line 12: remark(1552): variable "lx" was set but
          never used
    long    i, lz, lx, v, av = avma;
                   ^

"../src/basemath/galconj.c", line 1192: remark(1552): variable "lbot" was set
          but never used
    ulong   ltop = avma, lbot;
                         ^

"../src/basemath/galconj.c", line 2141: remark(1552): variable "v" was set but
          never used
    long    v;
            ^

"../src/basemath/galconj.c", line 2969: remark(1552): variable "n" was set but
          never used
    int i,j,l,n,o;
              ^

"../src/basemath/galconj.c", line 3009: remark(1174): parameter "PL" was
          declared but never referenced
  fixedfieldfactor(GEN L, GEN O, GEN perm,GEN PL, GEN M, GEN den, GEN mod, long x,long y)
                                              ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o gen1.o ../src/basemath/gen1.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o gen2.o ../src/basemath/gen2.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o gen3.o ../src/basemath/gen3.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o ifactor1.o ../src/basemath/ifactor1.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o polarit1.o ../src/basemath/polarit1.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o polarit2.o ../src/basemath/polarit2.c
"../src/basemath/polarit2.c", line 2199: remark(1498): no prototype for the
          call to _zeropol
    dx = lgef(x)-3; if (dx < 0) { dx = 0; x = _zeropol(); }
                                              ^

"../src/basemath/polarit2.c", line 2200: remark(1498): no prototype for the
          call to _zeropol
    dy = lgef(y)-3; if (dy < 0) { dy = 0; y = _zeropol(); }
                                              ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o polarit3.o ../src/basemath/polarit3.c
"../src/basemath/polarit3.c", line 672: remark(1174): parameter "q" was
          declared but never referenced
  static GEN fflgen(GEN l, GEN q, long e, GEN r,GEN T ,GEN p,GEN *zeta)
                               ^

"../src/basemath/polarit3.c", line 721: remark(1552): variable "x" was set but
          never used
    long x;
         ^

"../src/basemath/polarit3.c", line 874: remark(1552): variable "U" was set but
          never used
    GEN     M, U, V;
               ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o rootpol.o ../src/basemath/rootpol.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o subgroup.o ../src/basemath/subgroup.c
"../src/basemath/subgroup.c", line 154: remark(1498): no prototype for the
          call to dogroup
    if (r > mmu[0]) { dogroup(); return; }
                      ^

"../src/basemath/subgroup.c", line 280: remark(1498): no prototype for the
          call to dopsubtyp
        dopsubtyp();
        ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o trans1.o ../src/basemath/trans1.c
"../src/basemath/trans1.c", line 835: remark(1552): variable "a" was set but
          never used
    GEN z,a,r;
          ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o trans2.o ../src/basemath/trans2.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o trans3.o ../src/basemath/trans3.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o elliptic.o ../src/modules/elliptic.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o galois.o ../src/modules/galois.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o kummer.o ../src/modules/kummer.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o mpqs.o ../src/modules/mpqs.c
"../src/modules/mpqs.c", line 791: remark(1498): no prototype for the call to
          mpqs_count_primes
    if ((mpqs_prime_count ? mpqs_prime_count : mpqs_count_primes())
                                               ^

"../src/modules/mpqs.c", line 803: remark(1498): no prototype for the call to
          mpqs_count_primes
      mpqs_prime_count = mpqs_count_primes();
                         ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o nffactor.o ../src/modules/nffactor.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o stark.o ../src/modules/stark.c
"../src/modules/stark.c", line 1947: remark(1498): no prototype for the call
          to maxprime
    if (nmax > maxprime())
               ^

"../src/modules/stark.c", line 1913: remark(1552): variable "N" was set but
          never used
    long i, j, k, n, av = avma, av1, av2, N, hk, fj, id, prec2, i0, nmax;
                                          ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o subfield.o ../src/modules/subfield.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o thue.o ../src/modules/thue.c
"../src/modules/thue.c", line 640: remark(1498): no prototype for the call to
          T_A_Matrices
      T_A_Matrices();
      ^

"../src/modules/thue.c", line 706: remark(1498): no prototype for the call to
          ComputeConstants
        ComputeConstants();
        ^

"../src/modules/thue.c", line 763: remark(1498): no prototype for the call to
          TotRat
  	if (fs == 2) TotRat();
  	             ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o anal.o ../src/language/anal.c
"../src/language/anal.c", line 514: remark(1413): source type of cast is too
          small to hold all pointers
        f[0]=(PFGEN)1; goto L1;
             ^

"../src/language/anal.c", line 519: remark(1413): source type of cast is too
          small to hold all pointers
        f[0]=(PFGEN)1; goto L1;
             ^

"../src/language/anal.c", line 538: remark(1413): source type of cast is too
          small to hold all pointers
      if (check_new_fun != NOT_CREATED_YET)
                           ^

"../src/language/anal.c", line 573: remark(1498): no prototype for the call to
          err_new_fun
      if (check_new_fun && (c == '(' || c == '=' || c == ',')) err_new_fun();
                                                               ^

"../src/language/anal.c", line 599: remark(1498): no prototype for the call to
          readlong
    const long c = readlong();
                   ^

"../src/language/anal.c", line 721: remark(1498): no prototype for the call to
          strtoGENstr_t
    if (*analyseur == '"') return strtoGENstr_t();
                                  ^

"../src/language/anal.c", line 866: remark(1498): no prototype for the call to
          repeated_op
    else if (repeated_op())
             ^

"../src/language/anal.c", line 1051: remark(1498): no prototype for the call
          to strtoGENstr_t
        res[n++] = (long) strtoGENstr_t();
                          ^

"../src/language/anal.c", line 1196: remark(1498): no prototype for the call
          to err_new_fun
        err_new_fun();
        ^

"../src/language/anal.c", line 1202: remark(1498): no prototype for the call
          to err_new_fun
        err_new_fun();
        ^

"../src/language/anal.c", line 1307: remark(1498): no prototype for the call
          to readlong
  	  match_comma(); argvec[i++] = (GEN) readlong(); break;
  	                                     ^

"../src/language/anal.c", line 1310: remark(1498): no prototype for the call
          to readvar
  	  match_comma(); argvec[i++] = (GEN) readvar(); break;
  	                                     ^

"../src/language/anal.c", line 1363: remark(1498): no prototype for the call
          to any_string
              argvec[i++] = any_string();
                            ^

"../src/language/anal.c", line 1393: remark(1413): source type of cast is too
          small to hold all pointers
                case 'n': argvec[i++]=DFT_VAR; s++; break;
                                      ^

"../src/language/anal.c", line 1465: remark(1498): no prototype for the call
          to global0
        if (EpVALENCE(ep) == 88) return global0();
                                        ^

"../src/language/anal.c", line 1474: remark(1498): no prototype for the call
          to readlong
  	if (*analyseur=='^') { analyseur++; m = readlong(); } else m = 1;
  	                                        ^

"../src/language/anal.c", line 1507: remark(1498): no prototype for the call
          to loop_break
  	  if (loop_break()) break;
  	      ^

"../src/language/anal.c", line 1517: remark(1498): no prototype for the call
          to loop_break
  	  if (loop_break()) break;
  	      ^

"../src/language/anal.c", line 1526: remark(1498): no prototype for the call
          to global0
          if (*analyseur == ')') return global0();
                                        ^

"../src/language/anal.c", line 1616: remark(1498): no prototype for the call
          to check_args
        narg = check_args(); nloc = 0;
               ^

"../src/language/anal.c", line 1621: remark(1498): no prototype for the call
          to check_args
          nloc += check_args();
                  ^

"../src/language/anal.c", line 1685: remark(1692): prototyped function
          redeclared without prototype
  constante()
  ^

"../src/language/anal.c", line 1871: remark(1692): prototyped function
          redeclared without prototype
  fetch_var()
  ^

"../src/language/anal.c", line 1918: remark(1692): prototyped function
          redeclared without prototype
  delete_var()
  ^

"../src/language/anal.c", line 1991: remark(1692): prototyped function
          redeclared without prototype
  skipstring()
  ^

"../src/language/anal.c", line 2024: remark(1498): no prototype for the call
          to repeated_op
    if (repeated_op())
        ^

"../src/language/anal.c", line 2289: remark(1498): no prototype for the call
          to check_var
        case '&': match_comma(); match('&'); check_var(); break;
                                             ^

"../src/language/anal.c", line 2290: remark(1498): no prototype for the call
          to check_var
        case 'V': match_comma(); check_var(); break;
                                 ^

"../src/language/anal.c", line 2386: remark(1498): no prototype for the call
          to err_new_fun
  	err_new_fun(); /* ep not created yet: no need to kill it */
  	^

"../src/language/anal.c", line 2389: remark(1413): source type of cast is too
          small to hold all pointers
        check_new_fun = NOT_CREATED_YET; match('(');
                        ^

"../src/language/anal.c", line 3031: remark(1498): no prototype for the call
          to find_member
    ep = find_member();
         ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o compat.o ../src/language/compat.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o errmsg.o ../src/language/errmsg.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o es.o ../src/language/es.c
"../src/language/es.c", line 206: remark(1692): prototyped function redeclared
          without prototype
  flusherr() { pariErr->flush(); }
  ^

"../src/language/es.c", line 358: remark(1498): no prototype for the call to
          term_width_intern
    int n = term_width_intern();
            ^

"../src/language/es.c", line 365: remark(1498): no prototype for the call to
          term_height_intern
    int n = term_height_intern();
            ^

"../src/language/es.c", line 430: remark(1498): no prototype for the call to
          term_width
    max_width = term_width();
                ^

"../src/language/es.c", line 456: remark(1498): no prototype for the call to
          term_width
    long oldwlen=0, linelen=prelen, w = term_width();
                                        ^

"../src/language/es.c", line 1686: remark(1498): no prototype for the call to
          term_width
        long wd = term_width();
                  ^

"../src/language/es.c", line 2102: remark(1692): prototyped function
          redeclared without prototype
  popinfile()
  ^

"../src/language/es.c", line 2529: remark(1498): no prototype for the call to
          pari_tmp_dir
      pre = pari_tmp_dir();
            ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o helpmsg.o ../src/language/helpmsg.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o init.o ../src/language/init.c
"../src/language/init.c", line 460: remark(1692): prototyped function
          redeclared without prototype
  freeall()
  ^

"../src/language/init.c", line 495: remark(1692): prototyped function
          redeclared without prototype
  getheap()
  ^

"../src/language/init.c", line 976: remark(1498): no prototype for the call to
          err_clean
      if (trap) trapped = err_seek(trap); else err_clean();
                                               ^

"../src/language/init.c", line 1491: remark(1692): prototyped function
          redeclared without prototype
  timer()   {return timer_proto(1);}
  ^

"../src/language/init.c", line 1493: remark(1692): prototyped function
          redeclared without prototype
  timer2()  {return timer_proto(2);}
  ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o sumiter.o ../src/language/sumiter.c
"../src/language/sumiter.c", line 31: remark(1498): no prototype for the call
          to loop_break
      if (loop_break()) break;
          ^

"../src/language/sumiter.c", line 66: remark(1498): no prototype for the call
          to loop_break
      if (loop_break()) break;
          ^

"../src/language/sumiter.c", line 92: remark(1498): no prototype for the call
          to maxprime
    if (maxprime() < a) err(primer1);
        ^

"../src/language/sumiter.c", line 132: remark(1498): no prototype for the call
          to maxprime
    P = maxprime();
        ^

"../src/language/sumiter.c", line 153: remark(1498): no prototype for the call
          to loop_break
      (void)lisseq(ch); if (loop_break()) break;
                            ^

"../src/language/sumiter.c", line 162: remark(1498): no prototype for the call
          to loop_break
    if (prime[2] == b) { (void)lisseq(ch); (void)loop_break(); avma = av; }
                                                 ^

"../src/language/sumiter.c", line 176: remark(1498): no prototype for the call
          to loop_break
      (void)lisseq(ch); if (loop_break()) break;
                            ^

"../src/language/sumiter.c", line 209: remark(1498): no prototype for the call
          to loop_break
        if (loop_break()) { fv_n = 0; return; }
            ^

"../src/language/sumiter.c", line 241: remark(1498): no prototype for the call
          to loop_break
        if (loop_break()) { fv_n = 0; return; }
            ^

"../src/language/sumiter.c", line 317: remark(1498): no prototype for the call
          to did_break
      p1 = lisexpr(ch); if (did_break()) err(breaker,"sum");
                            ^

"../src/language/sumiter.c", line 343: remark(1498): no prototype for the call
          to did_break
      p1 = lisexpr(ch); if (did_break()) err(breaker,"suminf");
                            ^

"../src/language/sumiter.c", line 397: remark(1498): no prototype for the call
          to did_break
        if (did_break()) err(breaker,"divsum");
            ^

"../src/language/sumiter.c", line 427: remark(1498): no prototype for the call
          to did_break
      p1 = lisexpr(ch); if (did_break()) err(breaker,"prod");
                            ^

"../src/language/sumiter.c", line 465: remark(1498): no prototype for the call
          to did_break
      p1 = lisexpr(ch); if (did_break()) err(breaker,"prodinf");
                            ^

"../src/language/sumiter.c", line 492: remark(1498): no prototype for the call
          to did_break
      p2 = lisexpr(ch); if (did_break()) err(breaker,"prodinf1");
                            ^

"../src/language/sumiter.c", line 522: remark(1498): no prototype for the call
          to did_break
      p1 = lisexpr(ch); if (did_break()) err(breaker,"prodeuler");
                            ^

"../src/language/sumiter.c", line 537: remark(1498): no prototype for the call
          to did_break
      p1 = lisexpr(ch); if (did_break()) err(breaker,"prodeuler");
                            ^

"../src/language/sumiter.c", line 568: remark(1498): no prototype for the call
          to did_break
      p1 = lisexpr(ch); if (did_break()) err(breaker,"direuler");
                            ^

"../src/language/sumiter.c", line 661: remark(1498): no prototype for the call
          to did_break
      if (did_break()) err(breaker,"vector");
          ^

"../src/language/sumiter.c", line 712: remark(1498): no prototype for the call
          to did_break
        if (did_break()) err(breaker,"matrix");
            ^

"../src/language/sumiter.c", line 765: remark(1498): no prototype for the call
          to did_break
      x = lisexpr(ch); if (did_break()) err(breaker,"sumalt");
                           ^

"../src/language/sumiter.c", line 790: remark(1498): no prototype for the call
          to did_break
      x = lisexpr(ch); if (did_break()) err(breaker,"sumalt2");
                           ^

"../src/language/sumiter.c", line 825: remark(1498): no prototype for the call
          to did_break
          p1 = lisexpr(ch); if (did_break()) err(breaker,"sumpos");
                                ^

"../src/language/sumiter.c", line 832: remark(1498): no prototype for the call
          to did_break
        p1 = lisexpr(ch); if (did_break()) err(breaker,"sumpos");
                              ^

"../src/language/sumiter.c", line 865: remark(1498): no prototype for the call
          to did_break
          p1 = lisexpr(ch); if (did_break()) err(breaker,"sumpos2");
                                ^

"../src/language/sumiter.c", line 872: remark(1498): no prototype for the call
          to did_break
        p1 = lisexpr(ch); if (did_break()) err(breaker,"sumpos2");
                              ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers -o mpinl.o ../src/kernel/none/level1.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers -I../src/language  -o gp.o ../src/gp/gp.c
"../src/gp/gp.c", line 291: remark(1498): no prototype for the call to
          hit_return
      hit_return();
      ^

"../src/gp/gp.c", line 329: remark(1498): no prototype for the call to
          pop_buffer
      pop_buffer();
      ^

"../src/gp/gp.c", line 340: remark(1498): no prototype for the call to
          pop_buffer
      pop_buffer();
      ^

"../src/gp/gp.c", line 569: remark(1498): no prototype for the call to
          hit_return
      hit_return();
      ^

"../src/gp/gp.c", line 671: remark(1498): no prototype for the call to
          jump_to_buffer
    jump_to_buffer();
    ^

"../src/gp/gp.c", line 872: remark(1498): no prototype for the call to
          help_default
    if (!*s) { help_default(); return gnil; }
               ^

"../src/gp/gp.c", line 915: remark(1498): no prototype for the call to
          term_width
    long i=0, j=0, maxlen=0, nbcol,len, w = term_width();
                                            ^

"../src/gp/gp.c", line 937: remark(1498): no prototype for the call to
          hit_return
        if (nbli && j++ > nbli) { j = 0; hit_return(); }
                                         ^

"../src/gp/gp.c", line 966: remark(1498): no prototype for the call to
          term_height
    list[s]=NULL; print_fun_list(list,term_height()-4); free(list);
                                      ^

"../src/gp/gp.c", line 1120: remark(1498): no prototype for the call to
          has_ext_help
    if (has_ext_help()) pariputs("\
        ^

"../src/gp/gp.c", line 1243: remark(1498): no prototype for the call to
          term_height
    long nbli = term_height()-3, li = 0;
                ^

"../src/gp/gp.c", line 1262: remark(1498): no prototype for the call to
          hit_return
      if (++li > nbli) { hit_return(); li = 0; }
                         ^

"../src/gp/gp.c", line 1314: remark(1498): no prototype for the call to
          community
      if (n == 12) { community(); return; }
                     ^

"../src/gp/gp.c", line 1467: remark(1498): no prototype for the call to
          term_width
    long i, pad = term_width() - strlen(s);
                  ^

"../src/gp/gp.c", line 1492: remark(1498): no prototype for the call to
          what_readline
    sprintf(buf,"(readline %s, extended help%s available)", what_readline(),
                                                            ^

"../src/gp/gp.c", line 1493: remark(1498): no prototype for the call to
          has_ext_help
            has_ext_help()? "": " not");
            ^

"../src/gp/gp.c", line 1500: remark(1498): no prototype for the call to
          print_version
    print_version(); pariputs("\n");
    ^

"../src/gp/gp.c", line 1621: remark(1498): no prototype for the call to
          help_default
      case 'd': help_default(); break;
                ^

"../src/gp/gp.c", line 1652: remark(1498): no prototype for the call to gp_quit
      case 'q': gp_quit(); break;
                ^

"../src/gp/gp.c", line 1659: remark(1498): no prototype for the call to
          user_member
          case 'm': user_member(); break;
                    ^

"../src/gp/gp.c", line 1660: remark(1498): no prototype for the call to
          user_fun
          default: user_fun();
                   ^

"../src/gp/gp.c", line 1663: remark(1498): no prototype for the call to
          print_version
      case 'v': print_version(); break;
                ^

"../src/gp/gp.c", line 1856: remark(1498): no prototype for the call to
          gprc_get
    FILE *file = gprc_get();
                 ^

"../src/gp/gp.c", line 1862: remark(1498): no prototype for the call to
          new_buffer
    b = new_buffer();
        ^

"../src/gp/gp.c", line 2151: remark(1498): no prototype for the call to
          new_buffer
    Buffer *b = new_buffer();
                ^

"../src/gp/gp.c", line 2184: remark(1498): no prototype for the call to
          do_prompt
        if (! read_line(do_prompt(), b))
                        ^

"../src/gp/gp.c", line 2189: remark(1498): no prototype for the call to gp_quit
  	if (popinfile()) gp_quit();
  	                 ^

"../src/gp/gp.c", line 2190: remark(1498): no prototype for the call to
          pop_buffer
  	if (!ismain) { pop_buffer(); return z; }
  	               ^

"../src/gp/gp.c", line 2222: remark(1498): no prototype for the call to
          prettyp_init
        if (prettyprint) prettyp_init();
                         ^

"../src/gp/gp.c", line 2241: remark(1498): no prototype for the call to
          prettyp_wait
        if (prettyprint) prettyp_wait();
                         ^

"../src/gp/gp.c", line 2288: remark(1498): no prototype for the call to silent
      flag = silent()? d_SILENT: d_ACKNOWLEDGE;
             ^

"../src/gp/gp.c", line 2295: remark(1498): no prototype for the call to
          new_buffer
    Buffer *b = new_buffer();
                ^

"../src/gp/gp.c", line 2300: remark(1498): no prototype for the call to gp_quit
      if (popinfile()) { fprintferr("no input ???"); gp_quit(); }
                                                     ^

"../src/gp/gp.c", line 2302: remark(1498): no prototype for the call to
          pop_buffer
    pop_buffer(); return x;
    ^

"../src/gp/gp.c", line 2331: remark(1498): no prototype for the call to
          new_buffer
    Buffer *oldb = current_buffer, *b = new_buffer();
                                        ^

"../src/gp/gp.c", line 2358: remark(1498): no prototype for the call to
          did_break
        if (did_break())
            ^

"../src/gp/gp.c", line 2360: remark(1498): no prototype for the call to
          did_break
          if (numerr == siginter && did_break() == br_NEXT)
                                    ^

"../src/gp/gp.c", line 2362: remark(1498): no prototype for the call to
          loop_break
            (void)loop_break(); /* clear status flag */
                  ^

"../src/gp/gp.c", line 2376: remark(1498): no prototype for the call to
          pop_buffer
    pop_buffer(); return go_on;
    ^

"../src/gp/gp.c", line 2421: remark(1413): source type of cast is too small to
          hold all pointers
    char *b=NULL, *p=NULL, *s=NULL, **pre=(char**)1;
                                          ^

"../src/gp/gp.c", line 2448: remark(1498): no prototype for the call to
          print_version
             print_version();
             ^

"../src/gp/gp.c", line 2456: remark(1498): no prototype for the call to
          gp_initrc
    if (pre) pre = gp_initrc();
                   ^

"../src/gp/gp.c", line 2508: remark(1498): no prototype for the call to gp_head
    if (!quiet_mode) gp_head();
                     ^

"../src/gp/gp.c", line 2520: remark(1498): no prototype for the call to gp_quit
    gp_quit(); return 0; /* not reached */
    ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers -I../src/graph -o gp_init.o ../src/gp/gp_init.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers -I../src/language  -o gp_rl.o ../src/gp/gp_rl.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o highlvl.o ../src/gp/highlvl.c
"../src/gp/highlvl.c", line 105: remark(1498): no prototype for the call to
          hit_return
      hit_return();
      ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers  -o whatnow.o ../src/gp/whatnow.c
"../src/gp/whatnow.c", line 177: remark(1413): source type of cast is too
          small to hold all pointers
  {REMOV},
   ^

"../src/gp/whatnow.c", line 234: remark(1413): source type of cast is too
          small to hold all pointers
  {REMOV},
   ^

"../src/gp/whatnow.c", line 235: remark(1413): source type of cast is too
          small to hold all pointers
  {REMOV},
   ^

"../src/gp/whatnow.c", line 236: remark(1413): source type of cast is too
          small to hold all pointers
  {REMOV},
   ^

"../src/gp/whatnow.c", line 277: remark(1413): source type of cast is too
          small to hold all pointers
  {REMOV},
   ^

"../src/gp/whatnow.c", line 286: remark(1413): source type of cast is too
          small to hold all pointers
  {REMOV},
   ^

"../src/gp/whatnow.c", line 502: remark(1413): source type of cast is too
          small to hold all pointers
  {REMOV},
   ^

"../src/gp/whatnow.c", line 503: remark(1413): source type of cast is too
          small to hold all pointers
  {REMOV},
   ^

"../src/gp/whatnow.c", line 509: remark(1413): source type of cast is too
          small to hold all pointers
  {REMOV},
   ^

"../src/gp/whatnow.c", line 623: remark(1413): source type of cast is too
          small to hold all pointers
    if (def == REMOV)
               ^

	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers -I/usr/include -o plot.o ../src/graph/plotX.c
	cc -c -g -64 -fullwarn -woff 1048,1506 -I. -I../src/headers -I../src/graph -o plotport.o ../src/graph/plotport.c
"../src/graph/plotport.c", line 1756: remark(1498): no prototype for the call
          to PARI_get_psplot
      { PARI_get_psplot(); return &pari_psplot; }
        ^

"../src/graph/plotport.c", line 1977: remark(1498): no prototype for the call
          to PARI_get_psplot
      PARI_get_psplot(); 
      ^
#endif