|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2017-04-10 03:49 UTC] laruence@php.net
  [2017-04-10 03:49 UTC] laruence@php.net
 
-Status: Open
+Status: Closed
  [2017-04-10 03:49 UTC] laruence@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ Compiler used: official cc (Developer Studio, aka Solaris Studio, aka Sun Studio), actual version 12.5 (and also 12.6 beta release) Error happens during regular compile session without special configure options (./configure CC=${IDE_CC} CXX=${IDE_CXX} CFLAGS=-g CXXFLAGS=-g --prefix=/opt/ict --with-apxs2=/opt/ict/usr/apache/2.4/bin/apxs) --- "/export/home/ralf/work/devstudio/apache-httpd/php-7.1.3/ext/fileinfo/libmagic/apprentice.c", line 2195: warning: implicit function declaration: offsetof "/export/home/ralf/work/devstudio/apache-httpd/php-7.1.3/ext/fileinfo/libmagic/apprentice.c", line 2195: syntax error before or at: struct "/export/home/ralf/work/devstudio/apache-httpd/php-7.1.3/ext/fileinfo/libmagic/apprentice.c", line 2209: syntax error before or at: struct "/export/home/ralf/work/devstudio/apache-httpd/php-7.1.3/ext/fileinfo/libmagic/apprentice.c", line 2380: warning: statement not reached "/export/home/ralf/work/devstudio/apache-httpd/php-7.1.3/ext/fileinfo/libmagic/apprentice.c", line 3213: warning: statement not reached cc: acomp failed for /export/home/ralf/work/devstudio/apache-httpd/php-7.1.3/ext/fileinfo/libmagic/apprentice.c *** Error code 1 dmake: Fatal error: Command failed for target `ext/fileinfo/libmagic/apprentice.lo' Test script: --------------- ./configure CC=${IDE_CC} CXX=${IDE_CXX} CFLAGS=-g CXXFLAGS=-g --prefix=/opt/ict --with-apxs2=/opt/ict/usr/apache/2.4/bin/apxs followed by a standard build. Expected result: ---------------- able to compile