• Huan Zhang's avatar
    Fix compilation problems with MSVC (#443) · 8487d0a2
    Huan Zhang authored
    * Fix warnings when compiled with -pedantic
    
    * add -DBOOST_ALL_NO_LIB for windows build
    
    * fix some more MSVC warnings
    
    * Break OpenCL string literal to smaller pieces to avoid error C2026 of MSVC
    
    The string was longer than the limit of 16380 single-byte characters.
    
    This affects Visual Studio 2005 - 2015. Untested on VS 2017.
    8487d0a2
histogram256.cl 34.9 KB