• Show log

    Commit

  • Hash : ef52560a
    Author : Sam Lantinga
    Date : 2021-02-09T15:10:06

    Fixed bug 5539 - Clang 11 fails to compile a CMake build with conflicting types for _m_prefetchw
    
    vladius
    
    In SDL_cpuinfo.h it seems like <intrin.h> is not included when __clang__ is defined, as the comment in the file explicitly reads:
    "Many of the intrinsics SDL uses are not implemented by clang with Visual Studio"
    
    However, the SDL_endian.h header does include <intrin.h> without any precautions like:
    >#ifdef _MSC_VER
    >#include <intrin.h>
    >#endif
    
    Maybe it should be changed to something like:
    >#ifdef _MSC_VER
    >#ifndef __clang__
    >#include <intrin.h>
    >#endif
    >#endif
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags