tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] handling immintrin.h with #including SDL2 headers on Linu


From: Alexander Nicholi
Subject: [Tinycc-devel] handling immintrin.h with #including SDL2 headers on Linux
Date: Thu, 27 Feb 2020 21:38:06 -0500

> My guess is that SDL2 requires SSE2 immediate intrinsics, and TCC doesn’t 
> provide these? I don’t exactly need them when I’m compiling with TCC, so is 
> there is a way to disable that or fake it out?

I know it’s not a problem with TinyCC, but I wanted to reply with the solution 
for the sake of searchers on the internet: this can be fixed by defining the 
CPP macro `SDL_DISABLE_IMMINTRIN_H`. TinyCC will compile code including SDL2 
headers just fine now.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]