Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guard definition of log2 on versions of Visual C++ that provide it. #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 17, 2022

  1. Guard definition of log2 on versions of Visual C++ that provide it.

    Resolves:
    
    ```
    C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\arm64\cl.exe   /TP -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_SCL_SECURE_NO_WARNINGS -ID:\buildtrees\stxxl\src\53f2b75236-bdc19ed4a0.clean\include -ID:\buildtrees\stxxl\arm64-windows-rel\include /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP  /wd4127 /wd4290 /wd4250 /wd4512 /wd4355 -openmp /MD /O2 /Oi /Gy /DNDEBUG /Z7 /showIncludes /Fotools\CMakeFiles\stxxl_tool.dir\benchmark_sort.cpp.obj /Fdtools\CMakeFiles\stxxl_tool.dir\ /FS -c D:\buildtrees\stxxl\src\53f2b75236-bdc19ed4a0.clean\tools\benchmark_sort.cpp
    D:\buildtrees\stxxl\src\53f2b75236-bdc19ed4a0.clean\include\stxxl/bits/msvc_compatibility.h(23): error C2169: 'log2': intrinsic function, cannot be defined
    ninja: build stopped: subcommand failed.
    ```
    BillyONeal committed May 17, 2022
    Configuration menu
    Copy the full SHA
    4a55426 View commit details
    Browse the repository at this point in the history