rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

Compilation warnings when building; with clisp #636

Open rtoy opened 3 months ago

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-03 03:04:56 Created by rtoy on 2023-08-13 21:33:42 Original: https://sourceforge.net/p/maxima/bugs/4173


Here are the warnings from compiling maxima with clisp from scratch:

;; Compiling file /home/toy/src/sourceforge/maxima/src/transm.lisp ...
WARNING: in TR in lines 81..86 : variable DEFINED_VARIABLES is not used.
         Misspelled or missing IGNORE declaration?
WARNING: in TR in lines 81..86 : variable LOCAL is not used.
         Misspelled or missing IGNORE declaration?
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/mforma.lisp ...
WARNING: in MFORMAT-TRANSLATE-OPEN in lines 235..246 : variable PARAMETER-P is
         assigned but not read
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/mformt.lisp ...
WARNING: in MFORMAT in lines 83..100 : variable PARAMETER-P is assigned but
         not read
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/mload.lisp ...
WARNING: in FLOAT_APPROX_EQUAL-IMPL in lines 236..266 : variable A-B-SIGN is
         assigned but not read
WARNING: in FLOAT_APPROX_EQUAL-IMPL in lines 236..266 : variable TOL-SIGN is
         assigned but not read
WARNING: in FLOAT_APPROX_EQUAL-IMPL in lines 236..266 : variable A-SIGNIFICAND
         is assigned but not read
WARNING: in FLOAT_APPROX_EQUAL-IMPL in lines 236..266 : variable B-SIGNIFICAND
         is assigned but not read
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/dskfn.lisp ...
WARNING: in DSKSETUP in lines 65..86 : variable MAXIMA-ERROR is assigned but
         not read
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/lesfac.lisp ...
WARNING: in LGCD1 in lines 115..169 : variable DUMMY is assigned but not read
WARNING: in FACRPLUS in lines 183..201 : variable DUMMY is assigned but not
         read
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/transl.lisp ...
WARNING: in TRANSLATE-FUNCTION in lines 494..511 : variable LOCAL is not used.
         Misspelled or missing IGNORE declaration?
WARNING: in TRANSLATE-AND-EVAL-MACSYMA-EXPRESSION in lines 522..528 : variable
         LOCAL is not used.
         Misspelled or missing IGNORE declaration?
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/transs.lisp ...
WARNING: in #:|46 82 (DEFMSPEC $COMPFILE (FORMS) ...)-9-1| in lines 46..82 :
         variable LOCAL is not used.
         Misspelled or missing IGNORE declaration?
WARNING: in TRANSLATE-FILE in lines 236..261 : variable LOCAL is not used.
         Misspelled or missing IGNORE declaration?
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/macdes.lisp ...
WARNING: in DISPLAY-HTML-TOPICS in lines 181..185 : variable DIR is assigned
         but not read
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/sinint.lisp ...
WARNING: in EPROG in lines 232..407 : variable SININT-WHOLEPART is assigned
         but not read
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/risch.lisp ...
WARNING: in RISCHINT in lines 101..152 : variable RISCHFORM-VALUE is assigned
         but not read
WARNING: in TRYRISCH in lines 226..254 : variable RISCHLOGEPROG-VALUE is
         assigned but not read
WARNING: in RISCHEXPLOG in lines 941..1179 : variable RISCH-M is assigned but
         not read
WARNING: in RISCHEXPLOG in lines 941..1179 : variable RISCH-ALPHAR is assigned
         but not read
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/hayat.lisp ...
WARNING: in TSDIFF in lines 2985..3013 : variable CHECK is not used.
         Misspelled or missing IGNORE declaration?
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/residu.lisp ...
WARNING: in REMFACTOR in lines 206..213 : variable F is assigned but not read
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/limit.lisp ...
WARNING: in SIMPLIM%LIMIT in lines 2953..2955 : Binding variable E can cause
         side effects despite IGNORE declaration since it is declared SPECIAL.
WARNING: in SIMPLIM%LIMIT in lines 2953..2955 : Binding variable X can cause
         side effects despite IGNORE declaration since it is declared SPECIAL.
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/solve.lisp ...
WARNING: in SSOLVE in lines 173..199 : variable SOLN is assigned but not read
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/polyrz.lisp ...
WARNING: in STURMSEQ in lines 50..63 : variable SOLN is not used.
         Misspelled or missing IGNORE declaration?
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/hypergeometric.lisp ...
WARNING: in #:|19 25 (SETF (GET '$MAX_FPPREC 'ASSIGN) #'(LAMBDA # # ...))-3-1|
         in lines 19..25 : Binding variable A can cause side effects despite
         IGNORE declaration since it is declared SPECIAL.
WARNING: in #:|29 35 (SETF (GET '$EXPAND_HYPERGEOMETRIC 'ASSIGN) #'(LAMBDA # #
         ...))-5-1| in lines 29..35 : Binding variable A can cause side
         effects despite IGNORE declaration since it is declared SPECIAL.
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/plot.lisp ...
WARNING: in PLOT2D-IMPL in lines 2295..2486 : variable PRANGE is assigned but
         not read
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/xmaxima_def.lisp ...
WARNING: in #:|373 431 (DEFMETHOD PLOT3D-COMMAND (# FUNCTIONS OPTIONS ...)
         ...)-8-1-1| in lines 373..431 : variable TITLES is not used.
         Misspelled or missing IGNORE declaration?
WARNING: in #:|433 450 (DEFMETHOD PLOT-SHIPOUT (# OPTIONS &OPTIONAL ...)
         ...)-9-1-1| in lines 433..450 : variable OPTIONS is not used.
         Misspelled or missing IGNORE declaration?
...
;; Compiling file /home/toy/src/sourceforge/maxima/src/geomview_def.lisp ...
WARNING: in #:|21 23 (DEFMETHOD PLOT-PREAMBLE (# OPTIONS) ...)-2-1-1| in lines
         21..23 : variable OPTIONS is not used.
         Misspelled or missing IGNORE declaration?
WARNING: in #:|25 81 (DEFMETHOD PLOT3D-COMMAND (# FUNCTIONS OPTIONS ...)
         ...)-3-1-1| in lines 25..81 : variable TITLES is not used.
         Misspelled or missing IGNORE declaration?
WARNING: in #:|83 95 (DEFMETHOD PLOT-SHIPOUT (# OPTIONS &OPTIONAL ...)
         ...)-4-1-1| in lines 83..95 : variable OPTIONS is not used.
         Misspelled or missing IGNORE declaration?

There were some warnings that I didn't include; they were from f2cl-translated files so they really need to be fixed in f2cl. The warnings were about unused vars.

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-03 03:04:57 Created by robert_dodier on 2023-11-04 23:40:53 Original: https://sourceforge.net/p/maxima/bugs/4173/#7b00