Re: ppc64le: error: declaration does not declare anything

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 17.12.2016 16:09, Jakub Jelinek wrote:
On Sat, Dec 17, 2016 at 04:03:22PM +0100, Sandro Mani wrote:
Hi

I'm having some difficulties understanding the following error on ppc64le
(scratch build [1], build log [2]):

PackMath.h:

191  template<> inline v4f  ei_pset1(const float& from)
192  {
193    // Taken from
http://developer.apple.com/hardwaredrivers/ve/alignment.html
194    float __attribute__(aligned(16)) af[4];
That is invalid syntax, it should be actually
   float __attribute__((aligned(16))) af[4];
or
   float af[4] __attribute__((aligned(16)));
Though I'm getting very different error from the one you've listed.
Adding a pair of parenthesis got it building, thanks!

Sandro
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux