{"action":"opened","issue":{"url":"https://api.github.com/repos/mmarchetti/DirectIO/issues/6","labels_url":"https://api.github.com/repos/mmarchetti/DirectIO/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/mmarchetti/DirectIO/issues/6/comments","events_url":"https://api.github.com/repos/mmarchetti/DirectIO/issues/6/events","html_url":"https://github.com/mmarchetti/DirectIO/issues/6","id":104321072,"number":6,"title":"Non first include","user":{"login":"Mikaka27","id":9214100,"avatar_url":"https://avatars.githubusercontent.com/u/9214100?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikaka27","html_url":"https://github.com/Mikaka27","followers_url":"https://api.github.com/users/Mikaka27/followers","following_url":"https://api.github.com/users/Mikaka27/following{/other_user}","gists_url":"https://api.github.com/users/Mikaka27/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikaka27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikaka27/subscriptions","organizations_url":"https://api.github.com/users/Mikaka27/orgs","repos_url":"https://api.github.com/users/Mikaka27/repos","events_url":"https://api.github.com/users/Mikaka27/events{/privacy}","received_events_url":"https://api.github.com/users/Mikaka27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-01T17:54:23Z","updated_at":"2015-09-01T17:54:23Z","closed_at":null,"body":"Hello, I have a strange problem with your library. Whenver the library isn't the first entry on the include list it throws errors.\r\n\r\nIf I have:\r\n#include <DirectIO.h>\r\n#include <somethingElse.h>\r\n\r\nIt's fine, but if I have it the other way around I get these errors:\r\nports.h:48: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression\r\nports.h:48: error: `*' cannot appear in a constant-expression\r\nports.h:48: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression\r\nports.h:48: error: `*' cannot appear in a constant-expression\r\nports.h:48: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression\r\nports.h:48: error: `*' cannot appear in a constant-expression\r\nports.h:52: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression\r\nports.h:52: error: `*' cannot appear in a constant-expression\r\nports.h:52: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression\r\nports.h:52: error: `*' cannot appear in a constant-expression\r\nports.h:52: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression\r\nports.h:52: error: `*' cannot appear in a constant-expression\r\nports.h:56: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression\r\nports.h:56: error: `*' cannot appear in a constant-expression\r\nports.h:56: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression\r\nports.h:56: error: `*' cannot appear in a constant-expression\r\nports.h:56: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression\r\nports.h:56: error: `*' cannot appear in a constant-expression\r\nports.h:60: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression\r\nports.h:60: error: `*' cannot appear in a constant-expression\r\nports.h:60: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression\r\nports.h:60: error: `*' cannot appear in a constant-expression\r\nports.h:60: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression\r\nports.h:60: error: `*' cannot appear in a constant-expression\r\n\r\nDue to my project's structure it's impossible for me to have your library as first thing included. How can I fix this?"}}