{"action":"opened","issue":{"url":"https://api.github.com/repos/padsley/k600analyser/issues/49","labels_url":"https://api.github.com/repos/padsley/k600analyser/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/padsley/k600analyser/issues/49/comments","events_url":"https://api.github.com/repos/padsley/k600analyser/issues/49/events","html_url":"https://github.com/padsley/k600analyser/issues/49","id":89266321,"number":49,"title":"Compilation failure on laptop","user":{"login":"padsley","id":8112824,"avatar_url":"https://avatars.githubusercontent.com/u/8112824?v=3","gravatar_id":"","url":"https://api.github.com/users/padsley","html_url":"https://github.com/padsley","followers_url":"https://api.github.com/users/padsley/followers","following_url":"https://api.github.com/users/padsley/following{/other_user}","gists_url":"https://api.github.com/users/padsley/gists{/gist_id}","starred_url":"https://api.github.com/users/padsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/padsley/subscriptions","organizations_url":"https://api.github.com/users/padsley/orgs","repos_url":"https://api.github.com/users/padsley/repos","events_url":"https://api.github.com/users/padsley/events{/privacy}","received_events_url":"https://api.github.com/users/padsley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/padsley/k600analyser/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-18T11:21:53Z","updated_at":"2015-06-18T11:21:53Z","closed_at":null,"body":"Trying to compile the same code on my laptop (Ubuntu 12.04) as I have running on my desktop (SL 6.6), I get an error on the former but not on the latter.\r\n\r\nMMM.c: In function ‘bool MMMFrontBackTest(int, int, double, double, SiliconData*)’:\r\nMMM.c:248:15: error: ‘abs’ was not declared in this scope\r\n    if(abs(diff)<3*sigma)\r\n               ^\r\n\r\nI'm assuming that this is an error in libraries or something like that. Going to try to either get the 'abs' function working or alternatively just use a quick work-around (which requires a couple of extra operations but since this isn't the limit on the speed of the sort code, I don't mind too much)."}}