tech-toolchain archive

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

Re: g++ -pedantic on 6.0.1/amd64 fails to include xmmintrin.h

On Saturday, at 20:33, Martin Husemann wrote:
| On Sat, Mar 09, 2013 at 04:14:56PM +0100, Anthony Mallet wrote:
| The extern C is slightly hidden in the stdlib.h declaration, but the "throw()"
| of course is a lie. Look at the start of mm_malloc.h:
| #include <stdlib.h>

Just a thought: shouldn't that mm_malloc.h header include <cstdlib> in C++,
instead of stdlib.h?

Then maybe it's easier to add the throw() to posix_memalign there.

| My vote: remove the bogus declaration from the gcc header file and ignore
| the issue.

As far as I am concerned, I'm fine with this.

Home | Main Index | Thread Index | Old Index