[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Some warnings from the compiler
From: |
Bjarni Ingi Gislason |
Subject: |
Some warnings from the compiler |
Date: |
Sat, 3 Mar 2012 21:51:27 +0000 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Groff Bug Report
GROFF VERSION:
groff-current (from about 24th February 2012)
MACHINE:
Laptop, i586, AMD K6
OS:
Debian GNU/Linux, linux 2.6.32-41
COMPILER:
g++ (Debian 4.4.5-8) 4.4.5
INPUT FILES:
Files to compile in groff-current
COMMAND LINE:
CFLAGS='-Wall -Wextra -Wformat=2 -Wstrict-prototypes -g -fno-common
-funsigned-char'
CXXFLAGS=$(echo "$CFLAGS" | sed -e 's/-Wstrict-prototypes//' )
./configure CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS"
make
DESCRIPTION OF INCORRECT BEHAVIOUR:
Warnings from compiler:
getopt.c: In function '_getopt_initialize':
getopt.c:252: warning: unused parameter 'argc'
getopt.c:252: warning: unused parameter 'argv'
version.cpp:3: warning: 'Version_string' initialized and declared 'extern'
number.cpp:358: warning: comparison between signed and unsigned integer
expressions
main.cpp:122: warning: 'sccsid' defined but not used
pre-html.cpp:1208: warning: suggest explicit braces to avoid ambiguous 'else'
- Some warnings from the compiler,
Bjarni Ingi Gislason <=