Re: freefem++ - GCC-4.3 build problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dominik 'Rathann' Mierzejewski wrote:
Hi, I need some help with building freefem++-2.23 in rawhide.

[...]
g++ -DHAVE_CONFIG_H -I. -I../.. -I../lglib -I../bamglib -I../Graphics -I../femlib -I../../arpack/arpack++/include    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT Drawing.o -MD -MP -MF .deps/Drawing.Tpo -c -o Drawing.o `test -f '../femlib/Drawing.cpp' || echo './'`../femlib/Drawing.cpp
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/bits/stl_algo.h:67,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/algorithm:67,
                 from ../femlib/fem.hpp:135,
                 from ../femlib/Drawing.cpp:39:
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/bits/stl_heap.h: In function 'bool Fem2D::std::__is_heap(_RandomAccessIterator, _RandomAccessIterator)':
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/bits/stl_heap.h:117: error: 'distance' is not a member of 'Fem2D::std'
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/bits/stl_heap.h: In function 'bool Fem2D::std::__is_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare)':
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/bits/stl_heap.h:123: error: 'distance' is not a member of 'Fem2D::std'

And tons of similar ones.
Full log at http://koji.fedoraproject.org/koji/getfile?taskID=451366&name=build.log

If anyone has a clue what's going on here, I'd appreciate the help.

You added the #include <algorithm> within a namespace definition. Just move it to the top and things will be fine. I found other problems as well, just sent you a patch off-list that compiles everything for me (on top of the patch you already have in cvs).

-denis

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux