{"action":"created","issue":{"url":"https://api.github.com/repos/rose-compiler/rose-develop/issues/5","labels_url":"https://api.github.com/repos/rose-compiler/rose-develop/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/rose-compiler/rose-develop/issues/5/comments","events_url":"https://api.github.com/repos/rose-compiler/rose-develop/issues/5/events","html_url":"https://github.com/rose-compiler/rose-develop/pull/5","id":116862276,"number":5,"title":"Port to VS 2014.","user":{"login":"billhoffman","id":186488,"avatar_url":"https://avatars.githubusercontent.com/u/186488?v=3","gravatar_id":"","url":"https://api.github.com/users/billhoffman","html_url":"https://github.com/billhoffman","followers_url":"https://api.github.com/users/billhoffman/followers","following_url":"https://api.github.com/users/billhoffman/following{/other_user}","gists_url":"https://api.github.com/users/billhoffman/gists{/gist_id}","starred_url":"https://api.github.com/users/billhoffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billhoffman/subscriptions","organizations_url":"https://api.github.com/users/billhoffman/orgs","repos_url":"https://api.github.com/users/billhoffman/repos","events_url":"https://api.github.com/users/billhoffman/events{/privacy}","received_events_url":"https://api.github.com/users/billhoffman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-13T22:02:45Z","updated_at":"2015-12-10T21:12:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rose-compiler/rose-develop/pulls/5","html_url":"https://github.com/rose-compiler/rose-develop/pull/5","diff_url":"https://github.com/rose-compiler/rose-develop/pull/5.diff","patch_url":"https://github.com/rose-compiler/rose-develop/pull/5.patch"},"body":"This involved adding several ROSE_DLL_API and ROSE_UTIL_API marcros.\r\nAlso, there were serveral instances of this: 0x%\"PRIx64\" that had to\r\nbe changed to  0x%\" PRIx64 \".  This is an error with VS 2014. There\r\nwere several other small syntax changes to get things to build.\r\n\r\nThis was done with these settings:\r\nenable-cuda:BOOL=OFF\r\nenable-fortran:BOOL=OFF\r\nenable-java:BOOL=OFF\r\n\r\nAlso, I used a pre-built boost 1.59 and a libxml2 taken from VTK."},"comment":{"url":"https://api.github.com/repos/rose-compiler/rose-develop/issues/comments/163750481","html_url":"https://github.com/rose-compiler/rose-develop/pull/5#issuecomment-163750481","issue_url":"https://api.github.com/repos/rose-compiler/rose-develop/issues/5","id":163750481,"user":{"login":"billhoffman","id":186488,"avatar_url":"https://avatars.githubusercontent.com/u/186488?v=3","gravatar_id":"","url":"https://api.github.com/users/billhoffman","html_url":"https://github.com/billhoffman","followers_url":"https://api.github.com/users/billhoffman/followers","following_url":"https://api.github.com/users/billhoffman/following{/other_user}","gists_url":"https://api.github.com/users/billhoffman/gists{/gist_id}","starred_url":"https://api.github.com/users/billhoffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billhoffman/subscriptions","organizations_url":"https://api.github.com/users/billhoffman/orgs","repos_url":"https://api.github.com/users/billhoffman/repos","events_url":"https://api.github.com/users/billhoffman/events{/privacy}","received_events_url":"https://api.github.com/users/billhoffman/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T21:12:12Z","updated_at":"2015-12-10T21:12:12Z","body":"@justintoo the errors are due to a different version of VS.   I think this should fix them:\r\n\r\nI made this change (which will only work with the most recent version of VS):\r\n\r\ndiff --git a/src/util/stringSupport/string_functions.cpp b/src/util/stringSupport/string_functions.cpp\r\nindex 41591c0..e0cec6f 100644\r\n--- a/src/util/stringSupport/string_functions.cpp\r\n+++ b/src/util/stringSupport/string_functions.cpp\r\n@@ -18,7 +18,9 @@\r\n #else\r\n #include <windows.h>\r\n #include \"Shlwapi.h\"\r\n-#define snprintf _snprintf\r\n+#ifndef snprintf\r\n+//#define snprintf _snprintf\r\n+#endif\r\n\r\nIt should be replaced with this code which is what I have done in other places:\r\n\r\n#ifdef _MSC_VER\r\n+# if _MSC_VER < 1900\r\n   #define snprintf _snprintf\r\n+# endif\r\n #endif\r\n\r\n\r\nCan you try that?\r\n"}}