mirror of https://github.com/mosra/magnum.git
Browse Source
Awesome bug. In GCC 4.6 it throws plenty of ungoogleable `-pedantic` warnings and in GCC 4.5 it fails directly with "error: bad array initializer". Fallback to initialization using for-cycle. Worked around that in 4.6 by disabling `-pedantic` warnings, must be done this way on 4.5 & 4.4. Hopefully the performance won't be harmed too much.
2 changed files with 20 additions and 1 deletions
Loading…
Reference in new issue