{"action":"created","issue":{"url":"https://api.github.com/repos/healpy/healpy/issues/284","labels_url":"https://api.github.com/repos/healpy/healpy/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/healpy/healpy/issues/284/comments","events_url":"https://api.github.com/repos/healpy/healpy/issues/284/events","html_url":"https://github.com/healpy/healpy/issues/284","id":110230758,"number":284,"title":"OS X installation: complex<double>::imag() and ::real()","user":{"login":"defjaf","id":799252,"avatar_url":"https://avatars.githubusercontent.com/u/799252?v=3","gravatar_id":"","url":"https://api.github.com/users/defjaf","html_url":"https://github.com/defjaf","followers_url":"https://api.github.com/users/defjaf/followers","following_url":"https://api.github.com/users/defjaf/following{/other_user}","gists_url":"https://api.github.com/users/defjaf/gists{/gist_id}","starred_url":"https://api.github.com/users/defjaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defjaf/subscriptions","organizations_url":"https://api.github.com/users/defjaf/orgs","repos_url":"https://api.github.com/users/defjaf/repos","events_url":"https://api.github.com/users/defjaf/events{/privacy}","received_events_url":"https://api.github.com/users/defjaf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-10-07T13:54:47Z","updated_at":"2015-10-15T12:14:47Z","closed_at":null,"body":"I am trying to `pip install healpy` with v 1.9.0 on OS X El Capitan, using a framework python build (hence, I think, I am constrained to use Apple clang/clang++ which is equivalent to gcc 4.2). Unfortunately, this means that I've changed both the healpy version and the OS X version at the same time. \r\n\r\nI now get the following errors from the sdist build \r\n\r\n        healpy/src/_healpy_sph_transform_lib.cc:923:27: error: no matching member function for call to 'imag'\r\n                  almalms[i](l,0).imag(0.0);\r\n                  ~~~~~~~~~~~~~~~~^~~~\r\n        /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1/complex:1207:20: note: candidate function not viable: requires 0 arguments, but 1 was provided\r\n      complex<double>::imag()\r\n                       ^\r\n\r\nand similar for ::real(), here and a few other places (4 errors all together).\r\n"},"comment":{"url":"https://api.github.com/repos/healpy/healpy/issues/comments/148368571","html_url":"https://github.com/healpy/healpy/issues/284#issuecomment-148368571","issue_url":"https://api.github.com/repos/healpy/healpy/issues/284","id":148368571,"user":{"login":"mreineck","id":898507,"avatar_url":"https://avatars.githubusercontent.com/u/898507?v=3","gravatar_id":"","url":"https://api.github.com/users/mreineck","html_url":"https://github.com/mreineck","followers_url":"https://api.github.com/users/mreineck/followers","following_url":"https://api.github.com/users/mreineck/following{/other_user}","gists_url":"https://api.github.com/users/mreineck/gists{/gist_id}","starred_url":"https://api.github.com/users/mreineck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreineck/subscriptions","organizations_url":"https://api.github.com/users/mreineck/orgs","repos_url":"https://api.github.com/users/mreineck/repos","events_url":"https://api.github.com/users/mreineck/events{/privacy}","received_events_url":"https://api.github.com/users/mreineck/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T12:14:47Z","updated_at":"2015-10-15T12:14:47Z","body":"Don't forget to add the \"-x c++\" flag, otherwise this compilation will most likely fail!\r\n\r\n"}}