Package Details: magnum-git 2018.02.r248.g920db7aa-1

Git Clone URL: https://aur.archlinux.org/magnum-git.git (read-only)
Package Base: magnum-git
Description: C++11/C++14 graphics middleware for games and data visualization (Git version)
Upstream URL: http://magnum.graphics
Licenses: MIT
Conflicts: magnum
Provides: magnum
Submitter: mosra
Maintainer: mosra
Last Packager: mosra
Votes: 6
Popularity: 0.000542
First Submitted: 2012-03-31 16:14
Last Updated: 2018-04-05 20:29

Latest Comments

mosra commented on 2017-01-17 14:50

Fixed in master.

To clarify -- it's a regression in GCC's libstdc++, not in the compiler. And clang is using it by default, unless you specify `-stdlib=libc++`, so that explains why it's broken on Clang as well.

mosra commented on 2017-01-17 13:54

Ah, I'm still on 6.2. Will look into it and push a fix later.

Frankly, this seems like a regression on GCC side. Assigning a `{}` shouldn't *ever* be ambiguous, don't they have tests for that? What the hell, GCC is getting worse every day :(

GalacticArachnid commented on 2017-01-17 09:52

@mosra, clang made no difference I'm afraid. However I did manage to get the package to build by changing the source a little.

I can open up an issues on your github repo and submit a PR if you care to look at the diff? Since the issue occurs when trying to unbind textres I *think* my fix is safe..

GalacticArachnid commented on 2017-01-17 09:33

Hi @mosra, Im using gcc

gcc version 6.3.1 20170109 (GCC)

I will try building with clang

mosra commented on 2017-01-16 11:52

@GalacticArachnid What's your compiler + version? Does not happen on any of the seven platforms I'm testing on.

GalacticArachnid commented on 2017-01-15 21:20

Currently this doesn't compile with the following error

```
magnum-git/src/magnum/src/Magnum/AbstractTexture.cpp:123:43: error: ambiguous overload for ‘operator=’ (operand types are ‘std::pair<unsigned int, unsigned int>’ and ‘<brace-enclosed initializer list>’)
textureState.bindings[textureUnit] = {};
```

mosra commented on 2015-01-01 15:54

Updated to the new VCS workflow, as pacman 4.2 finally supports incremental builds.

mosra commented on 2014-04-27 18:59

Switched to use SDL2 instead of GLUT.

mosra commented on 2014-04-22 19:03

Svenstaro: Yep, I'm planning to replace GLUT with SDL2, but first I need to update all examples and documentation to avoid confusion.

As for the new VCS standard -- unless there was any change recently that I'm not aware of, the new way makes incremental builds impossible. It is very inconvenient and time-consuming for people like me who update all *-git packages almost every day. See comment section of https://aur.archlinux.org/packages/kdevelop-git/ for details.

Svenstaro commented on 2014-04-22 01:52

Can't the dependency on freeglut be optional at best? Can't magnum depend on SDL2 primarily?

Also, please update to new vcs standard. See man PKGBUILD for git etc. You can lose many lines of code in this PKGBUILD.

All comments