Date: 10/14/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6759 Updated: java.c does not compile"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #7215 Updated: imap open"
- Next in thread: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6759 Updated: java.c does not compile"
- Maybe reply: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6759 Updated: java.c does not compile"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 6759
User Update by: Wolfram.Schmidt <email protected>
Status: Open
Bug Type: Compile Failure
Description: java.c does not compile
Problem still exists in 4.0.3 -
gcc compiles this code.
Who is in error?
A long time ago, when I programmed in C, I would have said that Sun C ist right. You need to take the address of the lvalue, cast it into the correct pointer and dereference it. But what do I know :-)
(not the recent modifications to the C language standard...)
Previous Comments:
---------------------------------------------------------------------------
[2000-09-14 09:32:48] Wolfram.Schmidt <email protected>
Using Sun C 5.0 I get the following error message:
"java.c", line 555: a cast does not yield an lvalue
With incompetent modification of the casts I get this down to: warning: improper pointer/integer combination: op "="
I can't test it because there are other compile failures. which I will report later.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6759
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6759 Updated: java.c does not compile"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #7215 Updated: imap open"
- Next in thread: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6759 Updated: java.c does not compile"
- Maybe reply: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6759 Updated: java.c does not compile"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

