gnats-prs
[Top][All Lists]
Advanced

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

gnats/249: GNATS 4 build fails with Sun CC on Solaris due to non-explici


From: yngve . svendsen
Subject: gnats/249: GNATS 4 build fails with Sun CC on Solaris due to non-explicit casts
Date: 27 Aug 2001 19:19:51 -0000

>Number:         249
>Category:       gnats
>Synopsis:       GNATS 4 build fails with Sun CC on Solaris due to non-explicit 
>casts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 27 12:24:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     address@hidden
>Release:        4 from CVS
>Organization:
>Environment:
Sun Enterprise 450, Solaris 7, Sun Workshop 4.2
>Description:
Building of Gnats 4 with Sun CC bombs out. The following results during 
building:

gmake[1]: Entering directory `/usr/local/src/gnats/gnats-fromcvs/gnats/gnats'
cc -c -I. -I. -I./../include  -g   -DHAVE_CONFIG_H 
-DGNATSD_USER_ACCESS_FILE=\"/usr/local/etc/gnats/gnatsd.access\" 
-DGNATSD_HOST_ACCESS_FILE=\"/usr/local/etc/gnats/gnatsd.host_access\" 
-DDEFAULT_GNATS_SERVICE=\"support\" 
-DGLOBAL_DB_LIST_FILE=\"/usr/local/etc/gnats/databases\" -DGNATS_USER=\"gnats\" 
edit.c
"edit.c", line 113: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"edit.c", line 114: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"edit.c", line 125: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"edit.c", line 173: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"edit.c", line 174: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"edit.c", line 253: warning: argument #2 is incompatible with prototype:
        prototype: pointer to char : "./gnats.h", line 356
        argument : pointer to const char
"edit.c", line 627: warning: argument #2 is incompatible with prototype:
        prototype: pointer to char : "./gnats.h", line 320
        argument : pointer to const char
"edit.c", line 791: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"edit.c", line 899: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"edit.c", line 987: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"edit.c", line 1157: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"edit.c", line 1239: identifier redeclared: newChangeAction
        current : function(pointer to struct databaseInfo {}, pointer to char) 
returning pointer to struct change_actions {pointer to struct q...
        previous: function(const pointer to struct databaseInfo {}, pointer to 
const char) returning pointer to struct change_actions {pointer... : 
"./field.h", line 215
cc: acomp failed for edit.c
gmake[1]: *** [edit.o] Error 2
gmake[1]: Leaving directory `/usr/local/src/gnats/gnats-fromcvs/gnats/gnats'
gmake: *** [all-gnats] Error 2
>How-To-Repeat:

>Fix:
Insert explicit casts on the erroneous lines, like (const char *)
>Release-Note:
>Audit-Trail:
>Unformatted:


reply via email to

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