bug-gnu-utils
[Top][All Lists]
Advanced

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

diction-1.02: some compiler warnings


From: Nelson H. F. Beebe
Subject: diction-1.02: some compiler warnings
Date: Mon, 25 Mar 2002 13:27:13 -0700 (MST)

The diction-1.02 package release does not include a separate bug-reporting
address, so I'm guessing that address@hidden will do.

The SGI IRIX 6.5 native cc compiler produced several warnings that
indicate a need for code cleanup:

c89 -mips3 -O2 -o diction -rpath /usr/local/lib -L/usr/local/lib diction.o
sentence.o misc.o \
        getopt.o getopt1.o 
c89 -mips3 -O2 -c -DSHAREDIR=\"/usr/local/share\" -g style.c
cc-1116 c89: WARNING File = style.c, Line = 574
  Non-void function "vowel" (declared at line 566) should return a value.

  }
  ^

cc-1199 c89: WARNING File = style.c, Line = 1003
  The indicated format string conversion is invalid.

                    conjunctions+subConjunctions, 
                    ^

cc-1199 c89: WARNING File = style.c, Line = 1007
  The indicated format string conversion is invalid.

                    (100.0*nominalizations)/words, nominalizations);
                                                   ^

cc-1174 c89: WARNING File = style.c, Line = 941
  The variable "wsg" was declared but never referenced.

      int wsg;
          ^

Apart from these small quibbles, the package built successfully
here on 13 different UNIX platforms.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +1 801 585 1640, +1 801 581 4148 -
- University of Utah                    Internet e-mail: address@hidden  -
- Department of Mathematics, 110 LCB        address@hidden  address@hidden -
- 155 S 1400 E RM 233                       address@hidden                    -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]