Ignore:
Timestamp:
Nov 21, 2017 9:25:11 AM (3 years ago)
Author:
riza
Message:

Close #2065: Update libyuv to fix linker error when building libyuv as dll on Visual Studio 2015.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/third_party/build/yuv/Notes.txt

    r5633 r5699  
    11Notes: 
    22 
    3 * Source code for libyuv from https://chromium.googlesource.com/libyuv/libyuv/ dated 27 July 2017. 
     3* Source code for libyuv from https://chromium.googlesource.com/libyuv/libyuv/ dated 17 November 2017. 
    44 
    5 * All code is compilable, except for compare_win.cc 
    6   - Use older version (https://chromium.googlesource.com/libyuv/libyuv/+/baf6a3c1bd385e7ffe6b7634560e71fb49e4f589%5E%21/) 
    7     Since there's a compiler error on: 
    8     -------------------------------------------------------------------------------------- 
    9     pmulld      xmm0,xmm6 
    10     -------------------------------------------------------------------------------------- 
    11  
    12   - On VS2015, error C2024: 'alignas' attribute applies to variables, data members and tag types only 
    13     -------------------------------------------------------------------------------------- 
    14     __declspec(naked) __declspec(align(16)) 
    15  
    16     Change to : 
    17  
    18     __declspec(naked) 
    19     -------------------------------------------------------------------------------------- 
    20  
    21 * Added these lines to file include/libyuv/basic_types.h: 
    22   -- 
    23   #if _MSC_VER==1400 
    24   #   include <stdint.h>  // for uint8_t 
    25   #endif 
    26   ... 
    27   #if defined(_MSC_VER) 
    28   #  pragma warning(disable:4996) // This function or variable may be unsafe. 
    29   #endif 
    30   -- 
Note: See TracChangeset for help on using the changeset viewer.