Hi!
Is there a solution for the following error I got compiling the PHP4-Module?
gcc -I. -I/home/mad/midgard/midgard-php4-1.4.1-1/
-I/home/mad/midgard/midgard-php4-1.4.1-1/main
-I/home/mad/midgard/midgard-php4-1.4.1-1 -I/usr/include/php4
-I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
-I/usr/include/apache-1.3 -g -O2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -ggdb -Wall -I/usr/include/glib-1.2
-I/usr/lib/glib/include -c article.c -fPIC -DPIC -o article.lo
article.c: In function `php_if_mgd_is_article_owner':
article.c:27: warning: implicit declaration of function `mgd_rcfg'
article.c:27: warning: implicit declaration of function `mgd_set_errno'
article.c:28: warning: implicit declaration of function `mgd_reset_errno'
article.c:29: warning: implicit declaration of function `mgd_handle'
article.c:29: warning: passing arg 1 of `mgd_isarticleowner' makes pointer
from integer without a cast
article.c: In function `php_if_mgd_is_article_in_topic_tree':
article.c:47: warning: passing arg 1 of `mgd_exists_id' makes pointer from
integer without a cast
article.c:51: warning: passing arg 1 of `mgd_exists_id' makes pointer from
integer without a cast
article.c:61: warning: passing arg 1 of `mgd_idfield' makes pointer from
integer without a cast
article.c:61: warning: passing arg 1 of `mgd_is_in_tree' makes pointer from
integer without a cast
article.c: In function `php_if_mgd_list_topic_articles_all':
article.c:249: warning: passing arg 1 of `mgd_tree' makes pointer from
integer without a cast
article.c: In function `php_if_mgd_list_topic_articles_all_fast':
article.c:329: warning: passing arg 1 of `mgd_tree' makes pointer from
integer without a cast
article.c: In function `php_if_mgd_list_topic_articles_all_of_person':
article.c:363: warning: passing arg 1 of `mgd_tree' makes pointer from
integer without a cast
article.c: In function `php_if_mgd_create_article':
article.c:546: warning: passing arg 1 of `mgd_exists_id' makes pointer from
integer without a cast
article.c:549: warning: passing arg 1 of `mgd_exists_id' makes pointer from
integer without a cast
article.c:552: warning: passing arg 1 of `mgd_exists_id' makes pointer from
integer without a cast
article.c:555: warning: passing arg 1 of `mgd_istopicowner' makes pointer
from integer without a cast
article.c:561: warning: passing arg 1 of `mgd_exists_id' makes pointer from
integer without a cast
article.c:582: warning: passing arg 1 of `mgd_user' makes pointer from
integer without a cast
article.c:582: warning: passing arg 1 of `mgd_user' makes pointer from
integer without a cast
article.c:583: warning: passing arg 1 of `mgd_create_guid' makes pointer
from integer without a cast
article.c:583: warning: passing arg 1 of `mgd_create_repligard' makes
pointer from integer without a cast
article.c: In function `php_if_mgd_update_article_score':
article.c:611: warning: passing arg 1 of `mgd_isarticleowner' makes pointer
from integer without a cast
article.c:617: warning: passing arg 1 of `mgd_update_repligard' makes
pointer from integer without a cast
article.c: In function `php_if_mgd_update_article_created':
article.c:631: warning: passing arg 1 of `mgd_isarticleowner' makes pointer
from integer without a cast
article.c:637: warning: passing arg 1 of `mgd_update_repligard' makes
pointer from integer without a cast
article.c: In function `php_if_mgd_update_article_replyto':
article.c:661: warning: passing arg 1 of `mgd_exists_bool' makes pointer
from integer without a cast
article.c:670: warning: passing arg 1 of `mgd_isarticleowner' makes pointer
from integer without a cast
article.c:675: warning: passing arg 1 of `mgd_idfield' makes pointer from
integer without a cast
article.c:680: warning: passing arg 1 of `mgd_update_repligard' makes
pointer from integer without a cast
There is a load more error-messages filling up the screen, but I think that
ist enough for the beginning. Installed is PHP version 4.0.4.5rc3-1, any
idea, whats going wrong?
Matthias
--
Matthias Gelbhardt | brought to you by CommY-Entertainment
[EMAIL PROTECTED] | with the power of Debian-Linux
http://www.commy.de |
+49 (0)170 547 10 11 | Abi 2000 im Netz http://abi2000.rats-ms.de
PGP-Fingerprint: 97DF 5DB4 2A29 247B 0A68 99CA 453D 9ABA 8BF3 42EA
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]