{"action":"created","issue":{"url":"https://api.github.com/repos/jpcre2/jpcre2/issues/8","repository_url":"https://api.github.com/repos/jpcre2/jpcre2","labels_url":"https://api.github.com/repos/jpcre2/jpcre2/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/jpcre2/jpcre2/issues/8/comments","events_url":"https://api.github.com/repos/jpcre2/jpcre2/issues/8/events","html_url":"https://github.com/jpcre2/jpcre2/issues/8","id":185586455,"number":8,"title":"jpcre2.hpp: error: undefined reference to `_imp__pcre2_code_free_8'","user":{"login":"ray-pixar","id":6133519,"avatar_url":"https://avatars.githubusercontent.com/u/6133519?v=3","gravatar_id":"","url":"https://api.github.com/users/ray-pixar","html_url":"https://github.com/ray-pixar","followers_url":"https://api.github.com/users/ray-pixar/followers","following_url":"https://api.github.com/users/ray-pixar/following{/other_user}","gists_url":"https://api.github.com/users/ray-pixar/gists{/gist_id}","starred_url":"https://api.github.com/users/ray-pixar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ray-pixar/subscriptions","organizations_url":"https://api.github.com/users/ray-pixar/orgs","repos_url":"https://api.github.com/users/ray-pixar/repos","events_url":"https://api.github.com/users/ray-pixar/events{/privacy}","received_events_url":"https://api.github.com/users/ray-pixar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-10-27T06:48:35Z","updated_at":"2016-10-29T10:36:08Z","closed_at":null,"body":"Hi\r\nWhen I want to build my project I get this error:\r\n```\r\njpcre2.hpp: error: undefined reference to `_imp__pcre2_code_free_8'\r\n\r\n:-1: error:***\\lib\\win32\\libjpcre2-8.a(libjpcre2_8_la-jpcre2.o): bad reloc address 0x28 in section `.text$_ZN6jpcre27select8IwE20getPcre2ErrorMessageEi[__ZN6jpcre27select8IwE20getPcre2ErrorMessageEi]'\r\n```\r\nI've linked the project against ```-ljpcre2-8 -lpcre2-8 -lpcre2-posix```\r\nwhat is the problem ?"},"comment":{"url":"https://api.github.com/repos/jpcre2/jpcre2/issues/comments/257084176","html_url":"https://github.com/jpcre2/jpcre2/issues/8#issuecomment-257084176","issue_url":"https://api.github.com/repos/jpcre2/jpcre2/issues/8","id":257084176,"user":{"login":"ray-pixar","id":6133519,"avatar_url":"https://avatars.githubusercontent.com/u/6133519?v=3","gravatar_id":"","url":"https://api.github.com/users/ray-pixar","html_url":"https://github.com/ray-pixar","followers_url":"https://api.github.com/users/ray-pixar/followers","following_url":"https://api.github.com/users/ray-pixar/following{/other_user}","gists_url":"https://api.github.com/users/ray-pixar/gists{/gist_id}","starred_url":"https://api.github.com/users/ray-pixar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ray-pixar/subscriptions","organizations_url":"https://api.github.com/users/ray-pixar/orgs","repos_url":"https://api.github.com/users/ray-pixar/repos","events_url":"https://api.github.com/users/ray-pixar/events{/privacy}","received_events_url":"https://api.github.com/users/ray-pixar/received_events","type":"User","site_admin":false},"created_at":"2016-10-29T10:36:08Z","updated_at":"2016-10-29T10:36:08Z","body":"> \r\n> \r\n>     I think using std::numeric_limits::max(); or 0 is equal at practice\r\n> \r\n> Can you explain?\r\n> \r\n\r\nMemory allocation with ```max()``` will be failed by **malloc** and equals **NULL**, and allocation with ```0``` is equals **NULL**. "}}
{"actor":{"display_login":"ray-pixar"}}