We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3968 - immintrin.h include in SDL_cpuinfo.h breaks older gcc
Summary: immintrin.h include in SDL_cpuinfo.h breaks older gcc
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-17 19:40 UTC by Ozkan Sezer
Modified: 2018-02-12 08:31 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ozkan Sezer 2017-11-17 19:40:37 UTC
As of changeset 11698: c5ae532b96d0 (along with 11699: afe271f50c70),
SDL_cpuinfo.h includes immintrin.h which is provided only by gcc4.4
and newer.  This commit not only breaks building SDL2 with old gcc,
but it also breaks building stuff against SDL2 headers using old gcc.
Comment 1 Ozkan Sezer 2018-02-12 08:31:14 UTC
I believe this is fixed as of r11770. Closing.