{"action":"created","issue":{"url":"https://api.github.com/repos/cpputest/cpputest/issues/943","repository_url":"https://api.github.com/repos/cpputest/cpputest","labels_url":"https://api.github.com/repos/cpputest/cpputest/issues/943/labels{/name}","comments_url":"https://api.github.com/repos/cpputest/cpputest/issues/943/comments","events_url":"https://api.github.com/repos/cpputest/cpputest/issues/943/events","html_url":"https://github.com/cpputest/cpputest/issues/943","id":150312148,"number":943,"title":"Strange stuff happening with long long","user":{"login":"arstrube","id":4686469,"avatar_url":"https://avatars.githubusercontent.com/u/4686469?v=3","gravatar_id":"","url":"https://api.github.com/users/arstrube","html_url":"https://github.com/arstrube","followers_url":"https://api.github.com/users/arstrube/followers","following_url":"https://api.github.com/users/arstrube/following{/other_user}","gists_url":"https://api.github.com/users/arstrube/gists{/gist_id}","starred_url":"https://api.github.com/users/arstrube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arstrube/subscriptions","organizations_url":"https://api.github.com/users/arstrube/orgs","repos_url":"https://api.github.com/users/arstrube/repos","events_url":"https://api.github.com/users/arstrube/events{/privacy}","received_events_url":"https://api.github.com/users/arstrube/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2016-04-22T08:56:42Z","updated_at":"2016-04-22T11:36:43Z","closed_at":null,"body":"I built CppUTest thus in Cygwin:\r\n```bash\r\n$ make distclean\r\n$ autoreconf -i ..\r\n$ ../configure\r\n$ make tdd\r\n```\r\nIt says long long support is enabled. This is my simple test:\r\n```c++\r\n#include \"CppUTest/TestHarness.h\"\r\n#include \"CppUTest/CommandLineTestRunner.h\"\r\n\r\nTEST_GROUP(longlong) {\r\n};\r\n\r\nTEST(longlong, someValue) {\r\n}\r\n\r\nCPPUTEST_DEFAULT_MAIN\r\n```\r\n(yes, I know - it doesn't even do anything) and here is the result:\r\n```bash\r\ng++ -Wextra -Wall -Werror -g3 -O0  -std=c++11  -include\"CppUTest/MemoryLeakDetectorNewMacros.h\"   -I\r\n/cygdrive/c/data/00_Dev/05_CppUTest/cpputest/include -L/cygdrive/c/data/00_Dev/05_CppUTest/cpputest/\r\nlib OneTimeThrowAwayTests.cpp -lCppUTest -lCppUTestExt -o OneTimeThrowAwayTests.exe\r\n/tmp/cc2WQ8Co.o:OneTimeThrowAwayTests.cpp:(.rdata$_ZTV33TEST_longlong_someValue_TestShell[__ZTV33TES\r\nT_longlong_someValue_TestShell]+0x48): undefined reference to `UtestShell::assertLongLongsEqual(cppu\r\ntest_longlong, cpputest_longlong, char const*, char const*, int, TestTerminator const&)'\r\n/tmp/cc2WQ8Co.o:OneTimeThrowAwayTests.cpp:(.rdata$_ZTV33TEST_longlong_someValue_TestShell[__ZTV33TES\r\nT_longlong_someValue_TestShell]+0x4c): undefined reference to `UtestShell::assertUnsignedLongLongsEq\r\nual(cpputest_ulonglong, cpputest_ulonglong, char const*, char const*, int, TestTerminator const&)'\r\ncollect2: error: ld returned 1 exit status\r\n```\r\nI can produce more errors, too, but this one is kind of suprising - why would UtestShell::assertUnsignedLongLongsEqual() be referenced in the absence of any macro that uses it?"},"comment":{"url":"https://api.github.com/repos/cpputest/cpputest/issues/comments/213388881","html_url":"https://github.com/cpputest/cpputest/issues/943#issuecomment-213388881","issue_url":"https://api.github.com/repos/cpputest/cpputest/issues/943","id":213388881,"user":{"login":"arstrube","id":4686469,"avatar_url":"https://avatars.githubusercontent.com/u/4686469?v=3","gravatar_id":"","url":"https://api.github.com/users/arstrube","html_url":"https://github.com/arstrube","followers_url":"https://api.github.com/users/arstrube/followers","following_url":"https://api.github.com/users/arstrube/following{/other_user}","gists_url":"https://api.github.com/users/arstrube/gists{/gist_id}","starred_url":"https://api.github.com/users/arstrube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arstrube/subscriptions","organizations_url":"https://api.github.com/users/arstrube/orgs","repos_url":"https://api.github.com/users/arstrube/repos","events_url":"https://api.github.com/users/arstrube/events{/privacy}","received_events_url":"https://api.github.com/users/arstrube/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T11:36:43Z","updated_at":"2016-04-22T11:36:43Z","body":"Hmm. Now that the file is there, it complains about HAVE_CONFIG_H being redefined :-/. Remove that, and I am back at my original problem......"}}