Something strange with files created by generator.php
| From: | Jared Smith | Date: | Wed, 13 Feb 2002 22:21:42 +0000 |
| Subject: | Something strange with files created by generator.php | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-1252@lists.php.net to get a copy of this message | ||
I compiled PHP-GTK from CVS, and I got the following error:
gen_gdkpixbuf.c:1: parse error before `-'
In looking at the gen_gdkpixbuf.c file, I noticed that for some reason,
generator.php is adding a content type to the beginning of the file.
Here's the first few lines of gen_gdkpixbuf.c:
Content-type: text/html^M
^M
#include "php_gtk.h"
#if HAVE_PHP_GTK
It seems that this happens with all the files that generator.php
creates... Is this something peculiar to my particular setup, or is this
happening to everyone? I can go delete these lines from all the gen_*.c
files, but I'm wondering if this is something that needs to be fixed.
Also, can somebody (probably James Moore) put this in the
troubleshooting section of the manual so that it doesn't trip up other
people?
Thanks!
Jared Smith
jaredsmith@jaredsmith.net