{"action":"created","issue":{"url":"https://api.github.com/repos/boostorg/beast/issues/1157","repository_url":"https://api.github.com/repos/boostorg/beast","labels_url":"https://api.github.com/repos/boostorg/beast/issues/1157/labels{/name}","comments_url":"https://api.github.com/repos/boostorg/beast/issues/1157/comments","events_url":"https://api.github.com/repos/boostorg/beast/issues/1157/events","html_url":"https://github.com/boostorg/beast/issues/1157","id":330977018,"node_id":"MDU6SXNzdWUzMzA5NzcwMTg=","number":1157,"title":"Build error for advanced server example, Visual Studio 2017","user":{"login":"jostell","id":10660294,"node_id":"MDQ6VXNlcjEwNjYwMjk0","avatar_url":"https://avatars3.githubusercontent.com/u/10660294?v=4","gravatar_id":"","url":"https://api.github.com/users/jostell","html_url":"https://github.com/jostell","followers_url":"https://api.github.com/users/jostell/followers","following_url":"https://api.github.com/users/jostell/following{/other_user}","gists_url":"https://api.github.com/users/jostell/gists{/gist_id}","starred_url":"https://api.github.com/users/jostell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jostell/subscriptions","organizations_url":"https://api.github.com/users/jostell/orgs","repos_url":"https://api.github.com/users/jostell/repos","events_url":"https://api.github.com/users/jostell/events{/privacy}","received_events_url":"https://api.github.com/users/jostell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-10T15:17:25Z","updated_at":"2018-06-11T01:37:13Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm trying to get started with a beast project and have copied the advanced server example verbatim from the [documentation](beast/example/advanced/server/advanced_server.cpp) to get started. I've added the standard `#include \"stdafx.h\"` on top, everything else is identical. I get a build error in Visual Studio 2017 (version 15.7.3):\r\n\r\n> 1>------ Build started: Project: cppweb, Configuration: Debug Win32 ------\r\n1>cppweb.cpp\r\n1>c:\\dev\\cppweb\\cppweb.cpp(516): error C2530: 'self_': references must be initialized\r\n1>c:\\dev\\cppweb\\cppweb.cpp(516): note: This diagnostic occurred in the compiler generated function 'void http_session::queue::operator ()(boost::beast::http::message<isRequest,Body,Fields> &&)'\r\n1>Done building project \"cppweb.vcxproj\" -- FAILED.\r\n========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========\r\n\r\nThe build error doesn't make sense to me, `self_` is initialized in the constructor. Any ideas? \r\n\r\n### Version of Beast\r\n\r\n167\r\n\r\n### Steps necessary to reproduce the problem\r\n\r\nBuild advanced server example in Visual Studio 2017.\r\n\r\n### All relevant compiler information\r\n\r\nVisual Studio 2017 version 15.7.3.\r\nBoost 1.67.0 installed via NuGet."},"comment":{"url":"https://api.github.com/repos/boostorg/beast/issues/comments/396100151","html_url":"https://github.com/boostorg/beast/issues/1157#issuecomment-396100151","issue_url":"https://api.github.com/repos/boostorg/beast/issues/1157","id":396100151,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjEwMDE1MQ==","user":{"login":"vinniefalco","id":1503976,"node_id":"MDQ6VXNlcjE1MDM5NzY=","avatar_url":"https://avatars3.githubusercontent.com/u/1503976?v=4","gravatar_id":"","url":"https://api.github.com/users/vinniefalco","html_url":"https://github.com/vinniefalco","followers_url":"https://api.github.com/users/vinniefalco/followers","following_url":"https://api.github.com/users/vinniefalco/following{/other_user}","gists_url":"https://api.github.com/users/vinniefalco/gists{/gist_id}","starred_url":"https://api.github.com/users/vinniefalco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinniefalco/subscriptions","organizations_url":"https://api.github.com/users/vinniefalco/orgs","repos_url":"https://api.github.com/users/vinniefalco/repos","events_url":"https://api.github.com/users/vinniefalco/events{/privacy}","received_events_url":"https://api.github.com/users/vinniefalco/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T01:37:13Z","updated_at":"2018-06-11T01:37:13Z","author_association":"MEMBER","body":"> Compiler bug?\r\nDefinitely. Are you on the latest Visual Studio?"}}
{"actor":{"display_login":"vinniefalco"}}