The attached packaging for qhull6.3.1 adds the patch from
https://svnweb.freebsd.org/ports?view=revision&revision=374949 and
passes 'fink -m' against Xcode 6.3 on 10.10.
          Jack

On Sat, Apr 11, 2015 at 8:48 AM, Jack Howarth <howarth.at.f...@gmail.com> wrote:
> The new Xcode 6.3's Apple Clang 6.1 compiler breaks the build of
> qhull6.3.1-2012.1-3.
>
> g++ -c -O2 -Dqh_QHpointer -Isrc/ -Isrc/libqhullcpp -Isrc/libqhull
> -Wall -Wcast-qual -Wextra -Wwrite-strings  -Wshadow -Wconversion  -o
> src/user_eg3/user_eg3.o src/user_eg3/user_eg3.cpp
> ...
> src/libqhullcpp/Coordinates.h:154:22: error: reference to
> 'random_access_iterator_tag' is ambiguous
>         typedef std::random_access_iterator_tag  iterator_category;
>                      ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:353:30:
> note: candidate found by name lookup is
>       'std::__1::random_access_iterator_tag'
> struct _LIBCPP_TYPE_VIS_ONLY random_access_iterator_tag : public
> bidirectional_iterator_tag {};
>                              ^
> src/libqhullcpp/QhullIterator.h:20:59: note: candidate found by name
> lookup is 'std::random_access_iterator_tag'
> namespace std { struct bidirectional_iterator_tag; struct
> random_access_iterator_tag; }
>                                                           ^
> In file included from src/user_eg3/user_eg3.cpp:3:
> In file included from src/libqhullcpp/RboxPoints.h:12:
> In file included from src/libqhullcpp/QhullPoint.h:15:
> src/libqhullcpp/Coordinates.h:201:22: error: reference to
> 'random_access_iterator_tag' is ambiguous
>         typedef std::random_access_iterator_tag  iterator_category;
>                      ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:353:30:
> note: candidate found by name lookup is
>       'std::__1::random_access_iterator_tag'
> struct _LIBCPP_TYPE_VIS_ONLY random_access_iterator_tag : public
> bidirectional_iterator_tag {};
>                              ^
> src/libqhullcpp/QhullIterator.h:20:59: note: candidate found by name
> lookup is 'std::random_access_iterator_tag'
> namespace std { struct bidirectional_iterator_tag; struct
> random_access_iterator_tag; }
>                                                           ^
> In file included from src/user_eg3/user_eg3.cpp:3:
> In file included from src/libqhullcpp/RboxPoints.h:12:
> In file included from src/libqhullcpp/QhullPoint.h:15:
> src/libqhullcpp/Coordinates.h:84:66: warning: implicit conversion
> changes signedness: 'int' to 'size_type' (aka 'unsigned long')
> [-Wsign-conversion]
>     coordT             &at(int idx) { return coordinate_array.at(idx); }
>                                              ~~~~~~~~~~~~~~~~    ^~~
> src/libqhullcpp/Coordinates.h:85:72: warning: implicit conversion
> changes signedness: 'int' to 'size_type' (aka 'unsigned long')
> [-Wsign-conversion]
>     const coordT       &at(int idx) const { return coordinate_array.at(idx); }
>                                                    ~~~~~~~~~~~~~~~~    ^~~
> src/libqhullcpp/Coordinates.h:95:81: warning: implicit conversion
> changes signedness: 'int' to 'size_type' (aka 'unsigned long')
> [-Wsign-conversion]
>     coordT            &operator[](int idx) { return
> coordinate_array.operator[](idx); }
>                                                     ~~~~~~~~~~~~~~~~
>          ^~~
> gcc -c -Dqh_QHpointer -O2 -fPIC -ansi -fno-common -Isrc/libqhull -Wall
> -Wcast-qual -Wextra -Wwrite-strings -Wshadow -o
> src/libqhullstaticp/qset.o src/libqhull/qset.c
> src/libqhullcpp/Coordinates.h:96:87: warning: implicit conversion
> changes signedness: 'int' to 'size_type' (aka 'unsigned long')
> [-Wsign-conversion]
>     const coordT      &operator[](int idx) const { return
> coordinate_array.operator[](idx); }
>
> ~~~~~~~~~~~~~~~~            ^~~
> src/libqhullcpp/Coordinates.h:132:67: warning: implicit conversion
> changes signedness: 'int' to 'size_type' (aka 'unsigned long')
> [-Wsign-conversion]
>     void                reserve(int i) { coordinate_array.reserve(i); }
>                                          ~~~~~~~~~~~~~~~~         ^
> In file included from src/user_eg3/user_eg3.cpp:3:
> In file included from src/libqhullcpp/RboxPoints.h:13:
> In file included from src/libqhullcpp/PointCoordinates.h:12:
> src/libqhullcpp/QhullPoints.h:123:22: error: reference to
> 'random_access_iterator_tag' is ambiguous
>         typedef std::random_access_iterator_tag  iterator_category;
>                      ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:353:30:
> note: candidate found by name lookup is
>       'std::__1::random_access_iterator_tag'
> struct _LIBCPP_TYPE_VIS_ONLY random_access_iterator_tag : public
> bidirectional_iterator_tag {};
>                              ^
> src/libqhullcpp/QhullIterator.h:20:59: note: candidate found by name
> lookup is 'std::random_access_iterator_tag'
> namespace std { struct bidirectional_iterator_tag; struct
> random_access_iterator_tag; }
>                                                           ^
> In file included from src/user_eg3/user_eg3.cpp:3:
> In file included from src/libqhullcpp/RboxPoints.h:13:
> In file included from src/libqhullcpp/PointCoordinates.h:12:
> src/libqhullcpp/QhullPoints.h:166:22: error: reference to
> 'random_access_iterator_tag' is ambiguous
>         typedef std::random_access_iterator_tag  iterator_category;
>                      ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:353:30:
> note: candidate found by name lookup is
>       'std::__1::random_access_iterator_tag'
> struct _LIBCPP_TYPE_VIS_ONLY random_access_iterator_tag : public
> bidirectional_iterator_tag {};
>                              ^
> src/libqhullcpp/QhullIterator.h:20:59: note: candidate found by name
> lookup is 'std::random_access_iterator_tag'
> namespace std { struct bidirectional_iterator_tag; struct
> random_access_iterator_tag; }
>                                                           ^
> In file included from src/user_eg3/user_eg3.cpp:3:
> In file included from src/libqhullcpp/RboxPoints.h:13:
> In file included from src/libqhullcpp/PointCoordinates.h:12:
> src/libqhullcpp/QhullPoints.h:80:100: warning: implicit conversion
> changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
>     int                 extraCoordinatesCount() const { return
> point_dimension>0 ?
> (int)((point_end-point_first)%(size_t)point_dimension) : 0; }  //
> WARN64
>
>                    ~~~~~~~~~^~~~~~~~~~~~ ~
> src/libqhullcpp/QhullPoints.h:86:89: warning: operand of ? changes
> signedness: 'long' to 'size_t' (aka 'unsigned long')
> [-Wsign-conversion]
>     size_t              size() const { return (point_dimension ?
> (point_end-point_first)/point_dimension : 0); }
>                                        ~~~~~~
> ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
> gcc -c -Dqh_QHpointer -O2 -fPIC -ansi -fno-common -Isrc/libqhull -Wall
> -Wcast-qual -Wextra -Wwrite-strings -Wshadow -o
> src/libqhullstaticp/mem.o src/libqhull/mem.c
> In file included from src/user_eg3/user_eg3.cpp:6:
> In file included from src/libqhullcpp/QhullFacet.h:15:
> src/libqhullcpp/QhullSet.h:81:47: warning: implicit conversion changes
> signedness: 'int' to 'size_t' (aka 'unsigned long')
> [-Wsign-conversion]
>     size_t              size() const { return count(); }
>                                        ~~~~~~ ^~~~~~~
> In file included from src/user_eg3/user_eg3.cpp:6:
> In file included from src/libqhullcpp/QhullFacet.h:16:
> src/libqhullcpp/QhullPointSet.h:122:22: error: reference to
> 'bidirectional_iterator_tag' is ambiguous
>         typedef std::bidirectional_iterator_tag  iterator_category;
>                      ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:352:30:
> note: candidate found by name lookup is
>       'std::__1::bidirectional_iterator_tag'
> struct _LIBCPP_TYPE_VIS_ONLY bidirectional_iterator_tag : public
> forward_iterator_tag {};
>                              ^
> src/libqhullcpp/QhullIterator.h:20:24: note: candidate found by name
> lookup is 'std::bidirectional_iterator_tag'
> namespace std { struct bidirectional_iterator_tag; struct
> random_access_iterator_tag; }
>                        ^
> In file included from src/user_eg3/user_eg3.cpp:6:
> In file included from src/libqhullcpp/QhullFacet.h:16:
> src/libqhullcpp/QhullPointSet.h:170:22: error: reference to
> 'random_access_iterator_tag' is ambiguous
>         typedef std::random_access_iterator_tag  iterator_category;
>                      ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:353:30:
> note: candidate found by name lookup is
>       'std::__1::random_access_iterator_tag'
> struct _LIBCPP_TYPE_VIS_ONLY random_access_iterator_tag : public
> bidirectional_iterator_tag {};
>                              ^
> src/libqhullcpp/QhullIterator.h:20:59: note: candidate found by name
> lookup is 'std::random_access_iterator_tag'
> namespace std { struct bidirectional_iterator_tag; struct
> random_access_iterator_tag; }
>                                                           ^
> In file included from src/user_eg3/user_eg3.cpp:6:
> src/libqhullcpp/QhullFacet.h:73:66: warning: operand of ? changes
> signedness: 'unsigned int' to 'int' [-Wsign-conversion]
>     int                 id() const { return qh_facet ? qh_facet->id : -1; }
>                                      ~~~~~~            ~~~~~~~~~~^~
> In file included from src/user_eg3/user_eg3.cpp:7:
> In file included from src/libqhullcpp/QhullFacetList.h:12:
> src/libqhullcpp/QhullLinkedList.h:118:22: error: reference to
> 'bidirectional_iterator_tag' is ambiguous
>         typedef std::bidirectional_iterator_tag  iterator_category;
>                      ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:352:30:
> note: candidate found by name lookup is
>       'std::__1::bidirectional_iterator_tag'
> struct _LIBCPP_TYPE_VIS_ONLY bidirectional_iterator_tag : public
> forward_iterator_tag {};
>                              ^
> src/libqhullcpp/QhullLinkedList.h:12:24: note: candidate found by name
> lookup is 'std::bidirectional_iterator_tag'
> namespace std { struct bidirectional_iterator_tag; struct
> random_access_iterator_tag; }
>                        ^
> src/libqhullcpp/QhullLinkedList.h:151:22: error: reference to
> 'bidirectional_iterator_tag' is ambiguous
>         typedef std::bidirectional_iterator_tag  iterator_category;
>                      ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:352:30:
> note: candidate found by name lookup is
>       'std::__1::bidirectional_iterator_tag'
> struct _LIBCPP_TYPE_VIS_ONLY bidirectional_iterator_tag : public
> forward_iterator_tag {};
>                              ^
> src/libqhullcpp/QhullLinkedList.h:12:24: note: candidate found by name
> lookup is 'std::bidirectional_iterator_tag'
> namespace std { struct bidirectional_iterator_tag; struct
> random_access_iterator_tag; }
>                        ^
> src/libqhullcpp/QhullLinkedList.h:70:61: warning: unused parameter 'l'
> [-Wunused-parameter]
>     QhullLinkedList<T> &operator=(const QhullLinkedList<T> &l) {}
>                                                             ^

Attachment: qhull6.3.1.info
Description: Binary data

Attachment: qhull6.3.1.patch
Description: Binary data

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to