{"action":"reopened","issue":{"url":"https://api.github.com/repos/mono/embeddinator-4000/issues/2","repository_url":"https://api.github.com/repos/mono/embeddinator-4000","labels_url":"https://api.github.com/repos/mono/embeddinator-4000/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mono/embeddinator-4000/issues/2/comments","events_url":"https://api.github.com/repos/mono/embeddinator-4000/issues/2/events","html_url":"https://github.com/mono/embeddinator-4000/issues/2","id":187895695,"number":2,"title":"error in glib.h g_memdup with VS2013 installed","user":{"login":"ctaggart","id":80104,"avatar_url":"https://avatars.githubusercontent.com/u/80104?v=3","gravatar_id":"","url":"https://api.github.com/users/ctaggart","html_url":"https://github.com/ctaggart","followers_url":"https://api.github.com/users/ctaggart/followers","following_url":"https://api.github.com/users/ctaggart/following{/other_user}","gists_url":"https://api.github.com/users/ctaggart/gists{/gist_id}","starred_url":"https://api.github.com/users/ctaggart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctaggart/subscriptions","organizations_url":"https://api.github.com/users/ctaggart/orgs","repos_url":"https://api.github.com/users/ctaggart/repos","events_url":"https://api.github.com/users/ctaggart/events{/privacy}","received_events_url":"https://api.github.com/users/ctaggart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-08T03:52:46Z","updated_at":"2016-11-16T20:23:38Z","closed_at":null,"body":"When I try to `--compile --dll`, it gives a bunch of errors about line 135 in glib.h which ends ups being:\r\n```\r\nstatic inline gchar   *g_strdup (const gchar *str) { if (str) { return (gchar*) g_memdup (str, (guint)strlen (str) + 1); } return NULL; }\r\n```\r\nIt is picking up VS 2013 as the default dependency instead of VS 2015. My hunch is that stuff works with only VS 2015. I'll investigate a bit further.\r\n\r\n```\r\nPS C:\\Users\\cameron\\fs\\embeddinator-4000\\tests\\Basic> MonoEmbeddinator4000 --compile --dll bin\\Release\\ClassLibrary1.dll\r\nParsing assemblies...\r\n    Parsed 'ClassLibrary1.dll'\r\nProcessing assemblies...\r\nGenerating binding code...\r\n    Generated: ClassLibrary1.h\r\n    Generated: ClassLibrary1.c\r\n    Generated: glib.c\r\n    Generated: glib.h\r\n    Generated: main.c\r\n    Generated: mono_embeddinator.c\r\n    Generated: mono_embeddinator.h\r\nCompiling binding code...\r\ncl : Command line warning D9024 : unrecognized source file type 'C:\\Users\\cameron\\fs\\embeddinator-4000\\tests\\Basic\\ClassLibrary1', object file assumed\r\n        ClassLibrary1.c\r\n        c:\\users\\cameron\\fs\\embeddinator-4000\\tests\\basic\\glib.h(135) : error C2054: expected '(' to follow 'inline'\r\n        c:\\users\\cameron\\fs\\embeddinator-4000\\tests\\basic\\glib.h(135) : error C2085: 'g_strdup' : not in formal parameter list\r\n        c:\\users\\cameron\\fs\\embeddinator-4000\\tests\\basic\\glib.h(135) : error C2143: syntax error : missing ';' before '{'\r\n        glib.c\r\n        c:\\users\\cameron\\fs\\embeddinator-4000\\tests\\basic\\glib.h(135) : error C2054: expected '(' to follow 'inline'\r\n        c:\\users\\cameron\\fs\\embeddinator-4000\\tests\\basic\\glib.h(135) : error C2085: 'g_strdup' : not in formal parameter list\r\n        c:\\users\\cameron\\fs\\embeddinator-4000\\tests\\basic\\glib.h(135) : error C2143: syntax error : missing ';' before '{'\r\n        main.c\r\n        C:\\Users\\cameron\\fs\\embeddinator-4000\\tests\\Basic\\main.c(33) : error C2059: syntax error : '}'\r\n        mono_embeddinator.c\r\n        c:\\users\\cameron\\fs\\embeddinator-4000\\tests\\basic\\glib.h(135) : error C2054: expected '(' to follow 'inline'\r\n        c:\\users\\cameron\\fs\\embeddinator-4000\\tests\\basic\\glib.h(135) : error C2085: 'g_strdup' : not in formal parameter list\r\n        c:\\users\\cameron\\fs\\embeddinator-4000\\tests\\basic\\glib.h(135) : error C2143: syntax error : missing ';' before '{'\r\n        Generating Code...\r\n```"}}
{"actor":{"display_login":"tritao"}}