Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Commit 6c4d8ff

Browse files
gshimanskyalexbaden
authored andcommitted
Additional fixes for windows (self explanatory)
Signed-off-by: Gregory Shimansky <[email protected]>
1 parent 49dc438 commit 6c4d8ff

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ if (WIN32)
3434
# to be built with debug runtime which we don't have.
3535
set(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreadedDLL)
3636
set(CMAKE_CXX_FLAGS_DEBUG "/Zi /Od")
37+
# Add a special option to require MSVC to define __cplusplus macro to a proper value
38+
# corresponding to the real C++ language standard version. Without this option Microsoft compiler
39+
# always defines __cplusplus to 199711L. A valid number is needed in llvm headers.
40+
add_compile_options(/Zc:__cplusplus)
3741
else()
3842
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0")
3943
endif()

omniscidb/IR/LeftDeepInnerJoin.h

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#pragma once
1818

19+
#include <deque>
1920
#include <memory>
2021
#include <vector>
2122

0 commit comments

Comments
 (0)