| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
  [2016-08-19 04:59 UTC] brian dot carpenter at gmail dot com
 Description:
------------
Trying to compile 5.6.25 with clang 3.5.0-10 (llvm 3.5.0).
Expected result:
----------------
Success.
Actual result:
--------------
/home/geeknik/php-5.6.25/main/reentrancy.c:139:23: error: too few arguments to function
      call, expected 3, have 2
        readdir_r(dirp, entry);
        ~~~~~~~~~            ^
/usr/include/dirent.h:183:1: note: 'readdir_r' declared here
extern int readdir_r (DIR *__restrict __dirp,
^
1 error generated.
Makefile:984: recipe for target 'main/reentrancy.lo' failed
make: *** [main/reentrancy.lo] Error 1
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             | 
    |||||||||||||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 14:00:01 2025 UTC | 
Same thing happens with 5.6.26 and clang. ): ~/php-5.6.26/main/reentrancy.c:139:23: error: too few arguments to function call, expected 3, have 2 readdir_r(dirp, entry); ~~~~~~~~~ ^ /usr/include/dirent.h:183:1: note: 'readdir_r' declared here extern int readdir_r (DIR *__restrict __dirp, ^ 1 error generated. Makefile:984: recipe for target 'main/reentrancy.lo' failed make: *** [main/reentrancy.lo] Error 1