Hi,

Quoting Johannes Schauer (2014-11-22 21:56:14)
> I'm trying to solve the build failure of my package vcmi on ppc64el:

Thanks to the help of Erik in #debianppc I was able to find out that this
problem only happens with c++ and not with clang++. Thus I now filed bug
#770670 against g++. In addition to this finding, I also found out that the
line:

        std::vector<int> foo

gets turned into:

        std::__attribute__((altivec(vector__)))<int> foo

by the preprocessor but only if using g++ and only on ppc64el and only if using
-std=c++0x. This also explains the error message I got:

    test.cc:4:6: error: expected unqualified-id before ‘__attribute__’
     std::vector<int> foo;
          ^

Maybe this helps?

cheers, josch


--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141123080216.6173.25401@hoothoot

Reply via email to