|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-06-19 20:38 UTC] roberto at spadim dot com dot br
Description: ------------ i'm using php 5.2.1 i got cvs of ffi at 2007/06/19 phpize ./configure and make at end of make an error occur /home/rspadim/php/ffi/teste/pecl/ffi/libffi/src/x86/ffi64.c: In function 'ffi_prep_args': /home/rspadim/php/ffi/teste/pecl/ffi/libffi/src/x86/ffi64.c:291: error: invalid lvalue in assignment make: ** [libffi/src/x86/ffi64.lo] Erro 1 Reproduce code: --------------- phpize ./configure make Expected result: ---------------- an extension really beautiful :) Actual result: -------------- nothing :( obs: Linux version 2.6.20-ARCH (root@workstation64) (gcc version 4.1.2) #1 SMP PREEMPT Thu Mar 22 16:06:38 UTC 2007 64bits machine! model name : AMD Athlon(tm) 64 Processor 3000+ archlinux 0.8 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 15:00:01 2025 UTC |
invalid lvalue in assignment THE PROBLEM IS (VOID *) what should be used?! if (ecif->cif->rtype->type != FFI_TYPE_VOID && examine_argument(ecif->cif->rtype, 1, &g, &s) == 0) (void *)stack->gpr[gprcount++] = ecif->rvalue;