{"action":"created","issue":{"url":"https://api.github.com/repos/root-project/cling/issues/223","repository_url":"https://api.github.com/repos/root-project/cling","labels_url":"https://api.github.com/repos/root-project/cling/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/root-project/cling/issues/223/comments","events_url":"https://api.github.com/repos/root-project/cling/issues/223/events","html_url":"https://github.com/root-project/cling/issues/223","id":306443680,"number":223,"title":"Windows build error!","user":{"login":"liudonghua123","id":2276718,"avatar_url":"https://avatars3.githubusercontent.com/u/2276718?v=4","gravatar_id":"","url":"https://api.github.com/users/liudonghua123","html_url":"https://github.com/liudonghua123","followers_url":"https://api.github.com/users/liudonghua123/followers","following_url":"https://api.github.com/users/liudonghua123/following{/other_user}","gists_url":"https://api.github.com/users/liudonghua123/gists{/gist_id}","starred_url":"https://api.github.com/users/liudonghua123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liudonghua123/subscriptions","organizations_url":"https://api.github.com/users/liudonghua123/orgs","repos_url":"https://api.github.com/users/liudonghua123/repos","events_url":"https://api.github.com/users/liudonghua123/events{/privacy}","received_events_url":"https://api.github.com/users/liudonghua123/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-19T12:32:40Z","updated_at":"2018-03-21T07:55:04Z","closed_at":"2018-03-21T07:33:57Z","author_association":"NONE","body":"I updated the latest code, removed the build files built previously and start a fresh build.\r\n\r\n```\r\nD:\\code\\cling\\build>cmake -DCMAKE_INSTALL_PREFIX=../release -DCMAKE_BUILD_TYPE=Release ../src\r\n-- Building for: Visual Studio 15 2017\r\nCMake Warning at CMakeLists.txt:48 (message):\r\n  Visual Studio generators use the x86 host compiler by default, even for\r\n  64-bit targets.  This can result in linker instability and out of memory\r\n  errors.  To use the 64-bit host compiler, pass -Thost=x64 on the CMake\r\n  command line.\r\n\r\n\r\n-- The C compiler identification is MSVC 19.13.26128.0\r\n-- The CXX compiler identification is MSVC 19.13.26128.0\r\n-- The ASM compiler identification is MSVC\r\n-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe\r\n-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe\r\n-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe\r\n-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- Warning: Did not find file Compiler/MSVC-ASM\r\n-- Looking for dirent.h\r\n-- Looking for dirent.h - not found\r\n-- Looking for dlfcn.h\r\n-- Looking for dlfcn.h - not found\r\n-- Looking for errno.h\r\n-- Looking for errno.h - found\r\n-- Looking for fcntl.h\r\n-- Looking for fcntl.h - found\r\n-- Looking for inttypes.h\r\n-- Looking for inttypes.h - found\r\n-- Looking for link.h\r\n-- Looking for link.h - not found\r\n-- Looking for malloc.h\r\n-- Looking for malloc.h - found\r\n-- Looking for malloc/malloc.h\r\n-- Looking for malloc/malloc.h - not found\r\n-- Looking for ndir.h\r\n-- Looking for ndir.h - not found\r\n-- Looking for signal.h\r\n-- Looking for signal.h - found\r\n-- Looking for stdint.h\r\n-- Looking for stdint.h - found\r\n-- Looking for sys/dir.h\r\n-- Looking for sys/dir.h - not found\r\n-- Looking for sys/ioctl.h\r\n-- Looking for sys/ioctl.h - not found\r\n-- Looking for sys/mman.h\r\n-- Looking for sys/mman.h - not found\r\n-- Looking for sys/ndir.h\r\n-- Looking for sys/ndir.h - not found\r\n-- Looking for sys/param.h\r\n-- Looking for sys/param.h - not found\r\n-- Looking for sys/resource.h\r\n-- Looking for sys/resource.h - not found\r\n-- Looking for sys/stat.h\r\n-- Looking for sys/stat.h - found\r\n-- Looking for sys/time.h\r\n-- Looking for sys/time.h - not found\r\n-- Looking for sys/types.h\r\n-- Looking for sys/types.h - found\r\n-- Looking for sys/uio.h\r\n-- Looking for sys/uio.h - not found\r\n-- Looking for termios.h\r\n-- Looking for termios.h - not found\r\n-- Looking for unistd.h\r\n-- Looking for unistd.h - not found\r\n-- Looking for valgrind/valgrind.h\r\n-- Looking for valgrind/valgrind.h - not found\r\n-- Looking for zlib.h\r\n-- Looking for zlib.h - not found\r\n-- Looking for fenv.h\r\n-- Looking for fenv.h - found\r\n-- Looking for FE_ALL_EXCEPT\r\n-- Looking for FE_ALL_EXCEPT - found\r\n-- Looking for FE_INEXACT\r\n-- Looking for FE_INEXACT - found\r\n-- Looking for mach/mach.h\r\n-- Looking for mach/mach.h - not found\r\n-- Looking for histedit.h\r\n-- Looking for histedit.h - not found\r\n-- Looking for CrashReporterClient.h\r\n-- Looking for CrashReporterClient.h - not found\r\n-- Looking for xar_open in xar\r\n-- Looking for xar_open in xar - not found\r\n-- Looking for arc4random\r\n-- Looking for arc4random - not found\r\n-- Looking for backtrace\r\n-- Looking for backtrace - not found\r\n-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)\r\n-- Looking for _Unwind_Backtrace\r\n-- Looking for _Unwind_Backtrace - not found\r\n-- Looking for getpagesize\r\n-- Looking for getpagesize - not found\r\n-- Looking for sysconf\r\n-- Looking for sysconf - not found\r\n-- Looking for getrusage\r\n-- Looking for getrusage - not found\r\n-- Looking for setrlimit\r\n-- Looking for setrlimit - not found\r\n-- Looking for isatty\r\n-- Looking for isatty - not found\r\n-- Looking for futimens\r\n-- Looking for futimens - not found\r\n-- Looking for futimes\r\n-- Looking for futimes - not found\r\n-- Looking for posix_fallocate\r\n-- Looking for posix_fallocate - not found\r\n-- Looking for sigaltstack\r\n-- Looking for sigaltstack - not found\r\n-- Looking for lseek64\r\n-- Looking for lseek64 - not found\r\n-- Looking for mallctl\r\n-- Looking for mallctl - not found\r\n-- Looking for mallinfo\r\n-- Looking for mallinfo - not found\r\n-- Looking for malloc_zone_statistics\r\n-- Looking for malloc_zone_statistics - not found\r\n-- Looking for mkdtemp\r\n-- Looking for mkdtemp - not found\r\n-- Looking for mkstemp\r\n-- Looking for mkstemp - not found\r\n-- Looking for mktemp\r\n-- Looking for mktemp - not found\r\n-- Looking for getcwd\r\n-- Looking for getcwd - not found\r\n-- Looking for gettimeofday\r\n-- Looking for gettimeofday - not found\r\n-- Looking for getrlimit\r\n-- Looking for getrlimit - not found\r\n-- Looking for posix_spawn\r\n-- Looking for posix_spawn - not found\r\n-- Looking for pread\r\n-- Looking for pread - not found\r\n-- Looking for realpath\r\n-- Looking for realpath - not found\r\n-- Looking for sbrk\r\n-- Looking for sbrk - not found\r\n-- Looking for strtoll\r\n-- Looking for strtoll - found\r\n-- Looking for strerror\r\n-- Looking for strerror - found\r\n-- Looking for strerror_r\r\n-- Looking for strerror_r - not found\r\n-- Looking for strerror_s\r\n-- Looking for strerror_s - found\r\n-- Looking for setenv\r\n-- Looking for setenv - not found\r\n-- Looking for _chsize_s\r\n-- Looking for _chsize_s - found\r\n-- Looking for _alloca\r\n-- Looking for _alloca - not found\r\n-- Looking for __alloca\r\n-- Looking for __alloca - not found\r\n-- Looking for __chkstk\r\n-- Looking for __chkstk - not found\r\n-- Looking for __chkstk_ms\r\n-- Looking for __chkstk_ms - not found\r\n-- Looking for ___chkstk\r\n-- Looking for ___chkstk - not found\r\n-- Looking for ___chkstk_ms\r\n-- Looking for ___chkstk_ms - not found\r\n-- Looking for __ashldi3\r\n-- Looking for __ashldi3 - not found\r\n-- Looking for __ashrdi3\r\n-- Looking for __ashrdi3 - not found\r\n-- Looking for __divdi3\r\n-- Looking for __divdi3 - not found\r\n-- Looking for __fixdfdi\r\n-- Looking for __fixdfdi - not found\r\n-- Looking for __fixsfdi\r\n-- Looking for __fixsfdi - not found\r\n-- Looking for __floatdidf\r\n-- Looking for __floatdidf - not found\r\n-- Looking for __lshrdi3\r\n-- Looking for __lshrdi3 - not found\r\n-- Looking for __moddi3\r\n-- Looking for __moddi3 - not found\r\n-- Looking for __udivdi3\r\n-- Looking for __udivdi3 - not found\r\n-- Looking for __umoddi3\r\n-- Looking for __umoddi3 - not found\r\n-- Looking for __main\r\n-- Looking for __main - not found\r\n-- Looking for __cmpdi2\r\n-- Looking for __cmpdi2 - not found\r\n-- Looking for __GLIBC__\r\n-- Looking for __GLIBC__ - not found\r\n-- Performing Test HAVE_INT64_T\r\n-- Performing Test HAVE_INT64_T - Success\r\n-- Performing Test HAVE_UINT64_T\r\n-- Performing Test HAVE_UINT64_T - Success\r\n-- Performing Test HAVE_U_INT64_T\r\n-- Performing Test HAVE_U_INT64_T - Failed\r\n-- Performing Test LLVM_HAS_ATOMICS\r\n-- Performing Test LLVM_HAS_ATOMICS - Success\r\n-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG\r\n-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Failed\r\n-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG\r\n-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Failed\r\n-- Native target architecture is X86\r\n-- Threads enabled.\r\n-- Doxygen disabled.\r\n-- Go bindings disabled.\r\n-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)\r\n-- OCaml bindings disabled.\r\n-- LLVM host triple: i686-pc-win32\r\n-- LLVM default target triple: i686-pc-win32\r\n-- Using Debug VC++ CRT: MDd\r\n-- Using Release VC++ CRT: MD\r\n-- Using MinSizeRel VC++ CRT: MD\r\n-- Using RelWithDebInfo VC++ CRT: MD\r\n-- Using Release VC++ CRT: MD\r\n-- Found PythonInterp: C:/msys64/mingw64/bin/python2.7.exe (found version \"2.7.14\")\r\n-- Constructing LLVMBuild project information\r\n-- LLVMHello ignored -- Loadable modules not supported on this platform.\r\n-- Targeting AArch64\r\n-- Targeting AMDGPU\r\n-- Targeting ARM\r\n-- Targeting BPF\r\n-- Targeting Hexagon\r\n-- Targeting Lanai\r\n-- Targeting Mips\r\n-- Targeting MSP430\r\n-- Targeting NVPTX\r\n-- Targeting PowerPC\r\n-- Targeting Sparc\r\n-- Targeting SystemZ\r\n-- Targeting X86\r\n-- Targeting XCore\r\n-- Could NOT find Z3 (missing: Z3_LIBRARIES Z3_INCLUDE_DIR) (Required is at least version \"4.5\")\r\n-- Looking for sys/resource.h\r\n-- Looking for sys/resource.h - not found\r\n-- Clang version: 5.0.0\r\n-- SampleAnalyzerPlugin ignored -- Loadable modules not supported on this platform.\r\n-- PrintFunctionNames ignored -- Loadable modules not supported on this platform.\r\n-- AnnotateFunctions ignored -- Loadable modules not supported on this platform.\r\n-- BugpointPasses ignored -- Loadable modules not supported on this platform.\r\n-- Cling version (from VERSION file): 0.6~dev\r\nCMake Error at tools/cling/CMakeLists.txt:444 (string):\r\n  string sub-command REPLACE requires at least four arguments.\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"D:/code/cling/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"D:/code/cling/build/CMakeFiles/CMakeError.log\".\r\n\r\nD:\\code\\cling\\build>cd ../src\r\n\r\nD:\\code\\cling\\src>git status\r\nOn branch cling-patches\r\nYour branch is up-to-date with 'origin/cling-patches'.\r\nnothing to commit, working tree clean\r\n\r\nD:\\code\\cling\\src>git pull\r\nAlready up-to-date.\r\n\r\nD:\\code\\cling\\src>cd tools/cling\r\n\r\nD:\\code\\cling\\src\\tools\\cling>git pull\r\nAlready up-to-date.\r\n\r\nD:\\code\\cling\\src\\tools\\cling>cd ../clang\r\n\r\nD:\\code\\cling\\src\\tools\\clang>git pull\r\nAlready up-to-date.\r\n\r\nD:\\code\\cling\\src\\tools\\clang>cd ../cling\r\n\r\nD:\\code\\cling\\src\\tools\\cling>git diff\r\ndiff --git a/tools/driver/CMakeLists.txt b/tools/driver/CMakeLists.txt\r\nindex 2a0d7004..958e7834 100644\r\n--- a/tools/driver/CMakeLists.txt\r\n+++ b/tools/driver/CMakeLists.txt\r\n@@ -46,9 +46,25 @@ if(MSVC)\r\n\r\n   # RTTI/C++ symbols\r\n   set(cling_exports ${cling_exports} ??_7type_info@@6B@\r\n-    ?__type_info_root_node@@3U__type_info_node@@A\r\n-    ?nothrow@std@@3Unothrow_t@1@B\r\n-    ?_Facet_Register@std@@YAXPEAV_Facet_base@1@@Z\r\n+      ?__type_info_root_node@@3U__type_info_node@@A\r\n+      ?nothrow@std@@3Unothrow_t@1@B\r\n+      ?_Facet_Register@std@@YAXPEAV_Facet_base@1@@Z\r\n+      cling_runtime_internal_throwIfInvalidPointer\r\n+      ?_Facet_Register@std@@YAXPAV_Facet_base@1@@Z\r\n+      ??1Value@cling@@QAE@XZ\r\n+      ?isValid@Value@cling@@QBE_NXZ\r\n+      ?AssertOnUnsupportedTypeCast@Value@cling@@IBEXXZ\r\n+      ?setValueNoAlloc@internal@runtime@cling@@YAXPAX00D@Z\r\n+      ?setValueNoAlloc@internal@runtime@cling@@YAXPAX00DM@Z\r\n+      ?setValueNoAlloc@internal@runtime@cling@@YAXPAX00DN@Z\r\n+      ?setValueNoAlloc@internal@runtime@cling@@YAXPAX00DO@Z\r\n+      ?setValueNoAlloc@internal@runtime@cling@@YAXPAX00D_K@Z\r\n+      ?setValueNoAlloc@internal@runtime@cling@@YAXPAX00DPBX@Z\r\n+      ?setValueWithAlloc@internal@runtime@cling@@YAPAXPAX00D@Z\r\n+      ?printValue@cling@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PB_N@Z\r\n+      ?printValue@cling@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAPBX@Z\r\n+      ??$toUTF8@D@cling@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBDID@Z\r\n+      ?EvaluateDynamicExpression@internal@runtime@cling@@YA?AVValue@3@PAVInterpreter@3@PAVDynamicExprInfo@123@PAVDeclContext@clang@@@Z\r\n   )\r\n\r\n   # Compiler added symbols for static variables. NOT for VStudio < 2015\r\n\r\nD:\\code\\cling\\src\\tools\\cling>\r\n```"},"comment":{"url":"https://api.github.com/repos/root-project/cling/issues/comments/374857442","html_url":"https://github.com/root-project/cling/issues/223#issuecomment-374857442","issue_url":"https://api.github.com/repos/root-project/cling/issues/223","id":374857442,"user":{"login":"bellenot","id":5236506,"avatar_url":"https://avatars1.githubusercontent.com/u/5236506?v=4","gravatar_id":"","url":"https://api.github.com/users/bellenot","html_url":"https://github.com/bellenot","followers_url":"https://api.github.com/users/bellenot/followers","following_url":"https://api.github.com/users/bellenot/following{/other_user}","gists_url":"https://api.github.com/users/bellenot/gists{/gist_id}","starred_url":"https://api.github.com/users/bellenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bellenot/subscriptions","organizations_url":"https://api.github.com/users/bellenot/orgs","repos_url":"https://api.github.com/users/bellenot/repos","events_url":"https://api.github.com/users/bellenot/events{/privacy}","received_events_url":"https://api.github.com/users/bellenot/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T07:55:04Z","updated_at":"2018-03-21T07:55:04Z","author_association":"MEMBER","body":"> But Why, a few days ago, I could do that without this argument.\r\n\r\nWell, something has probably been changed in cling. Maybe @vgvassilev has an answer..."}}
{"actor":{"display_login":"bellenot"}}