You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Alan Pesola <us...@ibmmail.com> on 1997/12/04 20:44:21 UTC

os-hpux/1515: Compile errors in alloc.c --> bad assignment type: char * = void * (1213)

>Number:         1515
>Category:       os-hpux
>Synopsis:       Compile errors in alloc.c --> bad assignment type: char * = void * (1213)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Dec  4 11:50:01 PST 1997
>Last-Modified:
>Originator:     usfmct7r@ibmmail.com
>Organization:
apache
>Release:        1.2.4
>Environment:
HP-UX 9.07 on a HP9000-715 using HP-UX C++ compiler 3.01
>Description:
Below is the output from the Configuration command and the compiler errors.

Output from Configure -- 

Using config file: Configuration
Using Makefile template file: Makefile.tmpl
 + configured for HP-UX platform
 + setting C compiler to cc
 + setting C compiler optimization-level to

-------------------------------------------------------------------------------------

Output from Make -- Only change to the Makefile that I made was changing

CC=cc    to     CC=CC

I don't have gcc, I am using my C++ compiler which is version 3.01


CC -c    -DHPUX -Aa -D_HPUX_SOURCE   alloc.c
C: "alloc.c", line 383: error: bad assignment type: char * = void * (1213)
CC: "alloc.c", line 392: error: bad assignment type: char * = void * (1213)
CC: "alloc.c", line 449: error: bad assignment type: char * = void * (1213)
CC: "alloc.c", line 465: error: bad assignment type: char * = void * (1213)
CC: "alloc.c", line 487: error: bad assignment type: char * = void * (1213)
CC: "alloc.c", line 898: error: no standard conversion of  void * to  regex_t* (1231)
CC: "alloc.c", line 936: error: syntax error (1502)
CC: "alloc.c", line 934: warning:  a not used (117)
CC: "alloc.c", line 934: warning:  pid not used (117)
CC: "alloc.c", line 934: warning:  how not used (117)
CC: "alloc.c", line 988: warning:  pid_t assigned to  int  (276)

Stop.
*** Error code 1
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]