[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #16170] make 3.81rc2: compile warnings on AIX
From: |
Alexander Frink |
Subject: |
[bug #16170] make 3.81rc2: compile warnings on AIX |
Date: |
Thu, 23 Mar 2006 12:37:36 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.2) Gecko/20040803 |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=16170>
Summary: make 3.81rc2: compile warnings on AIX
Project: make
Submitted by: afrink
Submitted on: Do 23.03.2006 um 12:37
Severity: 3 - Normal
Item Group: Build/Install
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Component Version: CVS
Platform Version: POSIX-Based
Fixed Release: None
_______________________________________________________
Details:
The following compile warnings on AIX 5.3 with the C for AIX Compiler,
Version 6, should (hopefully) be easy to fix:
"function.c", line 1751.34: 1506-280 (W) Function argument assignment between
types "int*" and "unsigned int*" is not allowed.
void fold_newlines (char *buffer, int *length) is called in line 1751 in
func_shell() with fold_newlines (buffer, &i); where i is an unsigned int
(this has been changed since 3.80). In the #ifdef _AMIGA part it is still
called with an int. This there probably was a good reason to switch from int
to unsigned int, it should be done everywhere.
"misc.c", line 667.15: 1506-280 (W) Function argument assignment between
types "unsigned char*" and "const unsigned char*" is not allowed.
"misc.c", line 746.15: 1506-280 (W) Function argument assignment between
types "unsigned char*" and "const unsigned char*" is not allowed.
"misc.c", line 794.15: 1506-280 (W) Function argument assignment between
types "unsigned char*" and "const unsigned char*" is not allowed.
"misc.c", line 828.15: 1506-280 (W) Function argument assignment between
types "unsigned char*" and "const unsigned char*" is not allowed.
_() expands to (const char*)() on AIX. Therefore static void log_access (char
*flavor) should be replaced by static void log_access (const char *flavor).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=16170>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
- [bug #16170] make 3.81rc2: compile warnings on AIX,
Alexander Frink <=