/ Check-in [3f710bc3]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Clang can define _MSC_VER in some circumstances; therefore, check for Clang first.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | ctimeCompiler
Files: files | file ages | folders
SHA1: 3f710bc3617691fa7432a24f1410d4651ca181b6
User & Date: mistachkin 2016-05-28 00:13:21
Context
2016-05-28
15:22
Enhance "PRAGMA compile_options" so that it shows the version of the compiler used to generate the executable, for common compilers. check-in: 6a0f2009 user: drh tags: trunk
00:13
Clang can define _MSC_VER in some circumstances; therefore, check for Clang first. Closed-Leaf check-in: 3f710bc3 user: mistachkin tags: ctimeCompiler
2016-05-27
21:13
Check for Clang before GCC. check-in: 7c2cd4b0 user: mistachkin tags: ctimeCompiler
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/ctime.c.

41
42
43
44
45
46
47
48
49
50
51


52
53
54
55
56
57
58
#endif
#if SQLITE_CASE_SENSITIVE_LIKE
  "CASE_SENSITIVE_LIKE",
#endif
#if SQLITE_CHECK_PAGES
  "CHECK_PAGES",
#endif
#if defined(_MSC_VER)
  "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER),
#elif defined(__clang__) && defined(__clang_version__)
  "COMPILER=clang-" __clang_version__,


#elif defined(__GNUC__) && defined(__VERSION__)
  "COMPILER=gcc-" __VERSION__,
#endif
#if SQLITE_COVERAGE_TEST
  "COVERAGE_TEST",
#endif
#if SQLITE_DEBUG







<
<
|

>
>







41
42
43
44
45
46
47


48
49
50
51
52
53
54
55
56
57
58
#endif
#if SQLITE_CASE_SENSITIVE_LIKE
  "CASE_SENSITIVE_LIKE",
#endif
#if SQLITE_CHECK_PAGES
  "CHECK_PAGES",
#endif


#if defined(__clang__) && defined(__clang_version__)
  "COMPILER=clang-" __clang_version__,
#elif defined(_MSC_VER)
  "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER),
#elif defined(__GNUC__) && defined(__VERSION__)
  "COMPILER=gcc-" __VERSION__,
#endif
#if SQLITE_COVERAGE_TEST
  "COVERAGE_TEST",
#endif
#if SQLITE_DEBUG