Skip to content

Instantly share code, notes, and snippets.

View district10's full-sized avatar
๐Ÿ˜€
good good study, day day up

TANG ZhiXiong district10

๐Ÿ˜€
good good study, day day up
View GitHub Profile
a
able
about
abstract
after
ain
ak
aking
al
all
@district10
district10 / .block
Created September 1, 2018 10:37
fresh block
license: mit
@district10
district10 / .block
Created September 1, 2018 10:37
fresh block
license: mit
@district10
district10 / .block
Created September 4, 2018 07:25
dots on a map: setup-gl
license: mit
@district10
district10 / dbg.h
Last active September 9, 2020 06:06
sfinae-example-test-is-member-function-is-static-function-is-vector-is-map-etc.cpp
#error "you should download from https://raw.githubusercontent.com/sharkdp/dbg-macro/master/dbg.h"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@district10
district10 / abseil-qnx-patch.diff
Last active July 18, 2024 02:43
based on 20200225.2 (c51510d1). Don't forget to add `-Wl,--start-group`, `-Wl,--end-group` when linking. Related: https://github.com/abseil/abseil-cpp/issues/566#issuecomment-1013611434
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 48cb6eb..f730711 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,15 @@
# (https://fedoraproject.org/wiki/EPEL#Extra_Packages_for_Enterprise_Linux_.28EPEL.29)
# and then issuing `yum install cmake3` on the command line.
cmake_minimum_required(VERSION 3.5)
+set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
This file has been truncated, but you can view the full file.