[MacPorts] #37102: squid3 +ipfw_transparent on 10.6.8 / XCode 4.2: error: redeclaration of C++ built-in type 'bool' (was: squid3 +ipfw_transparent on 10.6.8/ MP2.1.2/ XCode 4.2)

MacPorts noreply at macports.org
Thu Nov 22 14:35:51 PST 2012


#37102: squid3 +ipfw_transparent on 10.6.8 / XCode 4.2: error: redeclaration of C++
built-in type 'bool'
---------------------------+-------------------
  Reporter:  thomasbjoh@…  |      Owner:  jmr@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.2
Resolution:                |   Keywords:
      Port:  squid3        |
---------------------------+-------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => jmr@…
 * port:   => squid3


Comment:

 For whatever reason, there are no pre-built binary packages for squid3 on
 our packages server (hence the 404 errors when trying to download them).
 Therefore MacPorts downloads and uses the source distfile and tries to
 build it on your system. This is normal.

 Looking further in the log, we see this error while trying to build:

 {{{
 :info:build In file included from nis_support.cc:18:
 :info:build /usr/include/rpcsvc/yp_prot.h:94:22: error: redeclaration of
 C++ built-in type 'bool'
 :info:build typedef unsigned int bool;
 :info:build                      ^
 :info:build /usr/bin/../lib/clang/3.0/include/stdbool.h:37:15: note:
 instantiated from:
 :info:build #define bool  bool
 :info:build               ^
 :info:build 1 error generated.
 }}}

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


More information about the macports-tickets mailing list