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...
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...
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...
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...
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...
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 ...
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...
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 ...