| Summary: | altivec.h include in SDL_cpuinfo.h breaks compilation with -std=c++11 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | bastien.bouclet |
| Component: | *don't know* | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | PowerPC | ||
| OS: | Other | ||
|
Description
bastien.bouclet
2017-12-05 18:27:39 UTC
Fixed, thanks! https://hg.libsdl.org/SDL/rev/58a69c196061 Including SDL_cpuinfo.h shouldn't cause a compiler error anymore, and if you really need to disable altivec you can define SDL_DISABLE_ALTIVEC_H before including SDL_cpuinfo.h |