Search found 10 matches

Go to advanced search

by Max
02 Nov 2011, 10:30
Forum: Installing polymake
Topic: Bug in polymake 2.10
Replies: 12
Views: 19608

Re: Bug in polymake 2.10

I fully agree that clang should only be "officially" supported if it is known to work (and then, too, one will have to impose restrictions on the version). Hence attached is a stripped down version of my configure patch. It make configure better at distinguishing compilers, and in particul...
by Max
01 Nov 2011, 16:38
Forum: Installing polymake
Topic: Bug in polymake 2.10
Replies: 12
Views: 19608

Re: Bug in polymake 2.10

There is another error which I can't figure out (present with Apple clang 2.0 and 3.0 and also the latest development version of clang). In particular, I am not sure whether this a problem in Polymake, or one in clang. Basically, it appears as if some code is to be compiled that is meant to multiply...
by Max
01 Nov 2011, 12:11
Forum: Installing polymake
Topic: Bug in polymake 2.10
Replies: 12
Views: 19608

Re: Bug in polymake 2.10

The "iterator" error seems to be triggered by e.g. the DeclTypedefCHECK(iterator) in core/polymake/internal/iterators.h:700. Attached to this post is a .zip file with a text file iterator-clang-err.txt that contains one set of these warnings. Unfortunately I don't know how to copy the nice...
by Max
31 Oct 2011, 16:21
Forum: Installing polymake
Topic: Bug in polymake 2.10
Replies: 12
Views: 19608

Re: Bug in polymake 2.10

Oh, and lest I be misunderstood: I think polymake is doing exceedingly well when compiled with clang; all "issues" it found are very minor ones, which is very good for a project of this size which makes so heavy use of template techniques. It also uncovered at least one compiler bug in cla...
by Max
31 Oct 2011, 13:20
Forum: Installing polymake
Topic: Bug in polymake 2.10
Replies: 12
Views: 19608

Re: Bug in polymake 2.10

Glad to hear you could fix all of this. :) There are more changes that are necessary for to make clang happy, though, and more warnings that are not critical but look as if it would be nice to fix them. E.g. polymake mixes "class" and "struct" when referring to a type. Harmless b...
by Max
29 Oct 2011, 11:21
Forum: Installing polymake
Topic: Bug in polymake 2.10
Replies: 12
Views: 19608

Re: Bug in polymake 2.10

Another compiler error one gets with clang is in lib/core/include/internal/type_manip.h:1827 template <typename Result, typename Source, typename _Generic> Here _Generic is a reserved identifier, used for some C1X extensions. A simple workaround is to change this to Generic_. Note: According to the ...
by Max
28 Oct 2011, 17:28
Forum: Installing polymake
Topic: Bug in polymake 2.10
Replies: 12
Views: 19608

Re: Bug in polymake 2.10

A third bug in include/core/polymake/Set.h:110

Code: Select all

return iterator(get_set().find_nearest(limit, polymake::operations::gt()), get_set.end());
should be

Code: Select all

return iterator(get_set().find_nearest(limit, polymake::operations::gt()), get_set().end());
by Max
28 Oct 2011, 17:21
Forum: Installing polymake
Topic: Bug in polymake 2.10
Replies: 12
Views: 19608

Re: Bug in polymake 2.10

Here is another bug uncovered by clang: In include/core/polymake/internal/constant_containers.h:80: bool operator< (const single_value_iterator& it) const { return !at_end && it.at_end; } This will *always* return false, as at_end is a pointer to a member method -- while _at_end is the v...
by Max
28 Oct 2011, 14:42
Forum: Installing polymake
Topic: Bug in polymake 2.10
Replies: 12
Views: 19608

Bug in polymake 2.10

Hi there, since I couldn't find any public bug tracker for polymake, nor any other information as to how to report bugs, except for a pointer to the forum in the "AQ" section, I am reporting this here now: In polymake 2.10, file include/core/polymake/internal/sparse2d_ruler.h:151 says the ...
by Max
19 Dec 2010, 21:21
Forum: Playground
Topic: trash
Replies: 0
Views: 19713

trash

to notify or not to notify...

Go to advanced search