as it turns out, this is a Bug in GCC 4.9 (resolved in 5.x) See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63723 Problem is, GCC emits a warning on narrowing conversions, while the standard actually disallows them when building objects from brace-enclosed initialisers. Unfortunately GCC also emits such a warning from within a SFINAE context, instead of letting those spurious dangerous cases fail. So we end up with additional visitor double dispatch paths, and a lot of additional warnings. Temporary solution is to hack a custom trait, which explicitly declares some conversions paths as "narrowing". Probably this can be implemented in a way more intelligent way (using std::numeric_limits), but this doesn't seem worth the effort, since the problem will go away through compiler evolution eventually. |
||
|---|---|---|
| .. | ||
| draw | ||
| DIR_INFO | ||
| empty.html | ||
| InterfaceConcept_Varga.mm | ||
| renderengine.html | ||
| thinkPad.ichthyo.mm | ||
| uml | ||
| workflow.mm | ||