[MacPorts] #41595: php: SIZEOF_LONG needs to vary based on bitness

MacPorts noreply at macports.org
Tue Jan 28 23:13:10 PST 2014


#41595: php: SIZEOF_LONG needs to vary based on bitness
---------------------------+--------------------------
  Reporter:  ryandesign@…  |      Owner:  ryandesign@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:
      Port:  php, php5     |
---------------------------+--------------------------

Comment (by ryandesign@…):

 Or php56-postgresql:

 {{{
 In file included from
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php56-postgresql/work/php-5.6.0alpha1/ext/pdo_pgsql/pdo_pgsql.c:39:
 /opt/local/include/postgresql93/pg_config.h:768:9: warning: 'SIZEOF_LONG'
 macro redefined
 #define SIZEOF_LONG 4
         ^
 /opt/local/include/php56/php/main/../main/php_config.h:2312:9: note:
 previous definition is here
 #define SIZEOF_LONG 8
         ^
 In file included from
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php56-postgresql/work/php-5.6.0alpha1/ext/pdo_pgsql/pdo_pgsql.c:39:
 /opt/local/include/postgresql93/pg_config.h:778:9: warning:
 'SIZEOF_SIZE_T' macro redefined
 #define SIZEOF_SIZE_T 4
         ^
 /opt/local/include/php56/php/main/../main/php_config.h:2333:9: note:
 previous definition is here
 #define SIZEOF_SIZE_T 8
         ^
 2 warnings generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/41595#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list