{"action":"created","issue":{"url":"https://api.github.com/repos/numbbo/coco/issues/438","labels_url":"https://api.github.com/repos/numbbo/coco/issues/438/labels{/name}","comments_url":"https://api.github.com/repos/numbbo/coco/issues/438/comments","events_url":"https://api.github.com/repos/numbbo/coco/issues/438/events","html_url":"https://github.com/numbbo/coco/issues/438","id":127717387,"number":438,"title":"Clean out the warnings","user":{"login":"ttusar","id":13745935,"avatar_url":"https://avatars.githubusercontent.com/u/13745935?v=3","gravatar_id":"","url":"https://api.github.com/users/ttusar","html_url":"https://github.com/ttusar","followers_url":"https://api.github.com/users/ttusar/followers","following_url":"https://api.github.com/users/ttusar/following{/other_user}","gists_url":"https://api.github.com/users/ttusar/gists{/gist_id}","starred_url":"https://api.github.com/users/ttusar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttusar/subscriptions","organizations_url":"https://api.github.com/users/ttusar/orgs","repos_url":"https://api.github.com/users/ttusar/repos","events_url":"https://api.github.com/users/ttusar/events{/privacy}","received_events_url":"https://api.github.com/users/ttusar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"oaelhara","id":9883415,"avatar_url":"https://avatars.githubusercontent.com/u/9883415?v=3","gravatar_id":"","url":"https://api.github.com/users/oaelhara","html_url":"https://github.com/oaelhara","followers_url":"https://api.github.com/users/oaelhara/followers","following_url":"https://api.github.com/users/oaelhara/following{/other_user}","gists_url":"https://api.github.com/users/oaelhara/gists{/gist_id}","starred_url":"https://api.github.com/users/oaelhara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oaelhara/subscriptions","organizations_url":"https://api.github.com/users/oaelhara/orgs","repos_url":"https://api.github.com/users/oaelhara/repos","events_url":"https://api.github.com/users/oaelhara/events{/privacy}","received_events_url":"https://api.github.com/users/oaelhara/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-01-20T16:12:38Z","updated_at":"2016-01-20T22:26:22Z","closed_at":null,"body":"````\r\ncc -c -g -ggdb -std=c89 -pedantic -Wall -Wextra -Wstrict-prototypes -Wshadow -Wno-sign-compare -Wconversion -o example_experiment.o example_experiment.c\r\ncc -c -g -ggdb -std=c89 -pedantic -Wall -Wextra -Wstrict-prototypes -Wshadow -Wno-sign-compare -Wconversion -o coco.o coco.c\r\ncode-experiments/src/large_scale_transformations.c: In function 'ls_compute_blockrotation':\r\ncode-experiments/src/large_scale_transformations.c:79:22: warning: variable 'current_gvect_pos' set but not used [-Wunused-but-set-variable]\r\ncode-experiments/src/large_scale_transformations.c: In function 'ls_rand_int':\r\ncode-experiments/src/large_scale_transformations.c:202:53: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion]\r\ncode-experiments/src/large_scale_transformations.c:202:61: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion]\r\ncode-experiments/src/large_scale_transformations.c: In function 'ls_get_block_sizes':\r\ncode-experiments/src/large_scale_transformations.c:294:39: warning: conversion to 'double' from 'size_t' may alter its value [-Wconversion]\r\ncode-experiments/src/logger_bbob.c: In function 'logger_bbob_initialize':\r\ncode-experiments/src/logger_bbob.c:325:59: warning: conversion to 'double' from 'size_t' may alter its value [-Wconversion]\r\ncode-experiments/src/logger_bbob.c:326:57: warning: conversion to 'double' from 'size_t' may alter its value [-Wconversion]\r\ncc -g -ggdb -std=c89 -pedantic -Wall -Wextra -Wstrict-prototypes -Wshadow -Wno-sign-compare -Wconversion -o example_experiment coco.o example_experiment.o -lm\r\n````\r\nAnd rename the file `large_scale_transformations.c` using the (obvious) naming convention."},"comment":{"url":"https://api.github.com/repos/numbbo/coco/issues/comments/173381987","html_url":"https://github.com/numbbo/coco/issues/438#issuecomment-173381987","issue_url":"https://api.github.com/repos/numbbo/coco/issues/438","id":173381987,"user":{"login":"oaelhara","id":9883415,"avatar_url":"https://avatars.githubusercontent.com/u/9883415?v=3","gravatar_id":"","url":"https://api.github.com/users/oaelhara","html_url":"https://github.com/oaelhara","followers_url":"https://api.github.com/users/oaelhara/followers","following_url":"https://api.github.com/users/oaelhara/following{/other_user}","gists_url":"https://api.github.com/users/oaelhara/gists{/gist_id}","starred_url":"https://api.github.com/users/oaelhara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oaelhara/subscriptions","organizations_url":"https://api.github.com/users/oaelhara/orgs","repos_url":"https://api.github.com/users/oaelhara/repos","events_url":"https://api.github.com/users/oaelhara/events{/privacy}","received_events_url":"https://api.github.com/users/oaelhara/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T22:26:22Z","updated_at":"2016-01-20T22:26:22Z","body":"It turns out, I had an outdated version of gcc (4.2) so couldn't see these warnings. I updated to version 4.9 so I can see the warnings now.\r\n\r\nFor the convention on filenames, you mean something like coco_... or more suite_largescale_compute.c (even though the transformations aren't applicable only to the large scale suite)? The only similar file I see is suite_bbob_legacy_code.c and it shouldn't remain there for very long since it's legacy code."}}