public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
* Re: gnats/249: GNATS 4 build fails with Sun CC on Solaris due to non-explicit casts
@ 2001-10-03  5:13 yngves
  0 siblings, 0 replies; 2+ messages in thread
From: yngves @ 2001-10-03  5:13 UTC (permalink / raw)
  To: gnats-prs, pdm, yngve.svendsen

Synopsis: GNATS 4 build fails with Sun CC on Solaris due to non-explicit casts

State-Changed-From-To: open->feedback
State-Changed-By: yngves
State-Changed-When: Wed Nov 14 15:46:19 2001
State-Changed-Why:
    Fix (undefining the const keyword) works well.

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=249&database=gnats


^ permalink raw reply	[flat|nested] 2+ messages in thread
* gnats/249: GNATS 4 build fails with Sun CC on Solaris due to non-explicit casts
@ 2001-08-27 12:24 yngve.svendsen
  0 siblings, 0 replies; 2+ messages in thread
From: yngve.svendsen @ 2001-08-27 12:24 UTC (permalink / raw)
  To: gnats-gnats

>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:     yngve.svendsen@clustra.com
>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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-14 23:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-03  5:13 gnats/249: GNATS 4 build fails with Sun CC on Solaris due to non-explicit casts yngves
  -- strict thread matches above, loose matches on Subject: below --
2001-08-27 12:24 yngve.svendsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).