Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Define THRUST_CPP_DIALECT correctly under MSVC #1028

Merged
merged 1 commit into from
Oct 28, 2019

Commits on Oct 21, 2019

  1. Handle MSVC's definition of __cplusplus

    MSVC doesnt define __cplusplus correctly unless a compiler flag is passed (/Zc:__cplusplus) but _MSVC_LANG is defined correctly.
    To avoid users needing to pass an extra compile flag, I suggest we handle it in the cpp_dialect.h file
    bjude committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    2b3993c View commit details
    Browse the repository at this point in the history