{"action":"created","issue":{"url":"https://api.github.com/repos/easylogging/easyloggingpp/issues/310","labels_url":"https://api.github.com/repos/easylogging/easyloggingpp/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/easylogging/easyloggingpp/issues/310/comments","events_url":"https://api.github.com/repos/easylogging/easyloggingpp/issues/310/events","html_url":"https://github.com/easylogging/easyloggingpp/issues/310","id":102324729,"number":310,"title":"Crash when i use #define ELPP_THREAD_SAFE","user":{"login":"parikshitnangre","id":13863886,"avatar_url":"https://avatars.githubusercontent.com/u/13863886?v=3","gravatar_id":"","url":"https://api.github.com/users/parikshitnangre","html_url":"https://github.com/parikshitnangre","followers_url":"https://api.github.com/users/parikshitnangre/followers","following_url":"https://api.github.com/users/parikshitnangre/following{/other_user}","gists_url":"https://api.github.com/users/parikshitnangre/gists{/gist_id}","starred_url":"https://api.github.com/users/parikshitnangre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parikshitnangre/subscriptions","organizations_url":"https://api.github.com/users/parikshitnangre/orgs","repos_url":"https://api.github.com/users/parikshitnangre/repos","events_url":"https://api.github.com/users/parikshitnangre/events{/privacy}","received_events_url":"https://api.github.com/users/parikshitnangre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-21T08:22:54Z","updated_at":"2015-08-24T04:55:00Z","closed_at":null,"body":"I am facing crash when i use this macro. My code snippet looks like this -\r\n#define ELPP_THREAD_SAFE\r\n#define ELPP_NO_DEFAULT_LOG_FILE\r\n#include \"../easylogging++.h\"\r\n\r\nwhen i build it, i get follwing warning -\r\neasylogging++.h(1029): warning C4100: 'ms' : unreferenced formal parameter\r\n\r\nand i am very sure crash is due to the macro. As when i comment the line, //#define ELPP_THREAD_SAFE, crash goes off.\r\n\r\nIs it because of the above warning ?\r\n\r\nSo please suggest what should i change/add ? Also the macro is  ELPP_THREAD_SAFE & not _ELPP_THREAD_SAFE, but many times in answers i found it as _ELPP_THREAD_SAFE."},"comment":{"url":"https://api.github.com/repos/easylogging/easyloggingpp/issues/comments/134036525","html_url":"https://github.com/easylogging/easyloggingpp/issues/310#issuecomment-134036525","issue_url":"https://api.github.com/repos/easylogging/easyloggingpp/issues/310","id":134036525,"user":{"login":"parikshitnangre","id":13863886,"avatar_url":"https://avatars.githubusercontent.com/u/13863886?v=3","gravatar_id":"","url":"https://api.github.com/users/parikshitnangre","html_url":"https://github.com/parikshitnangre","followers_url":"https://api.github.com/users/parikshitnangre/followers","following_url":"https://api.github.com/users/parikshitnangre/following{/other_user}","gists_url":"https://api.github.com/users/parikshitnangre/gists{/gist_id}","starred_url":"https://api.github.com/users/parikshitnangre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parikshitnangre/subscriptions","organizations_url":"https://api.github.com/users/parikshitnangre/orgs","repos_url":"https://api.github.com/users/parikshitnangre/repos","events_url":"https://api.github.com/users/parikshitnangre/events{/privacy}","received_events_url":"https://api.github.com/users/parikshitnangre/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T04:55:00Z","updated_at":"2015-08-24T04:55:00Z","body":"still it is crashing when I am setting as compiler option in Project Properties-->C/C++ --> Preprocessor - ELPP_THREAD_SAFE"}}