bug-indent
[Top][All Lists]
Advanced

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

[Bug-indent] indent-2.2.8: compilation warnings from crud in source file


From: Nelson H. F. Beebe
Subject: [Bug-indent] indent-2.2.8: compilation warnings from crud in source files
Date: Thu, 12 Dec 2002 11:54:42 -0700 (MST)

The build of indent-2.2.8 on SGI IRIX 6.5 with the native c89
compiler succeeded, but produced these diagnostics that can be
easily removed by minor code repairs:

c89 -mips3 -O2 -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I. 
-I.. -I. -I. -I..
-I../intl -I../intl    -g -c `test -f indent.c || echo './'`indent.c
cc-1174 c89: WARNING File = indent.c, Line = 2576
  The variable "i" was declared but never referenced.

      int i;
          ^

c89 -mips3 -O2 -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I. 
-I.. -I. -I. -I..
-I../intl -I../intl    -g -c `test -f output.c || echo './'`output.c
cc-1116 c89: WARNING File = output.c, Line = 1132
  Non-void function "inhibit_indenting" (declared at line 1128) should return a
          value.

  }
  ^
cc-1174 c89: WARNING File = output.c, Line = 28
  The variable "boolean_operator" was declared but never referenced.

  static const int boolean_operator = 1;
                   ^

c89 -mips3 -O2 -DHAVE_CONFIG_H -I. -I. -I..     -g -c `test -f texinfo2man.c || 
echo './'`texinfo2man.c
cc-1116 c89: WARNING File = texinfo2man.c, Line = 246
  Non-void function "process_texi" (declared at line 165) should return a value.

  }
  ^

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +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]