#40835 [Opn->Fbk]: "Incompatible with prototype" warnings
ID: 40835
Updated by: tony2001@php.net
Reported By: ian at onlineloop dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Warning
Operating System: Solaris 10
PHP Version: 5.2.1
New Comment:
It would be very good to have an access to a machine with Sun Compiler,
just for tests. As far as I know at the moment none of developers use
Sun Compiler or test the builds using it.
Previous Comments:
------------------------------------------------------------------------
[2007-03-16 14:56:42] ian at onlineloop dot com
Description:
------------
When compiling PHP 5.2.1 on Solaris 10, sparc, with Studio 10 compilers
from Sun Microsystems, the build completes, however there are numerous
warnings about the prototype declarations not matching their usage in
the source code.
A number of external libraries, such as libxml2, openssl, openldap, and
so on have been compiled from source on the same system with the same
compiler.
Because of the large number of warnings and the resulting size of the
output, a text file will be added to this report containing a complete
history of the build, or failing that a link to a url.
If further information is needed, please tell me and I will provide it
asap.
# uname -a
SunOS devel 5.10 Generic sun4u sparc SUNW,Sun-Fire-V440
# cc -V
cc: Sun C 5.7 2005/01/07
# ld -V
ild: Sun Incremental Linker 4.3 2005/01/07
# env | grep FLA
LDFLAGS=-L/opt/sfw/lib -L/usr/sfw/lib -L/usr/local/open-ldap/lib
-L/usr/lib -L/usr/local/BerkeleyDB/lib -R/opt/sfw/lib -R/usr/sfw/lib
-R/usr/local/open-ldap/lib -R/usr/local/BerkeleyDB/lib -R/usr/lib
CPPFLAGS=-I/opt/sfw/include -I/usr/sfw/include/openssl
-I/usr/local/open-ldap/include -I/usr/local/BerkeleyDB/include/
-I/usr/include
CFLAGS=-I/opt/sfw/include -I/usr/sfw/include/openssl
-I/usr/local/open-ldap/include -I/usr/local/BerkeleyDB/include
-I/usr/include
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40835&edit=1
Thread (8 messages)