Skip to content

Example build issue #98

@0xrgg

Description

@0xrgg

I was trying to build the websocket example in using G++ and the build seems to be failing and am not sure exactly what the problem is - I'm new to the language and terrible at debugging so trying to provide as much information as possible for potential bug (or more likely an issue on my environment).

OS - CentOS7 (RH)
gcc/g++ version 8.3.1.20190223
I'm not sure what version of boost I am using but pulled from github just the other day when building
I have Codeblocks to link with -lpthread and -lboost_system on build and also tried to add a search directory as /usr/local/include (just incase there was some link to this directory)

Line 10580 - Internal compiler error: in write_expression, at cp/mangle.c:3050

Codeblocks seems to pull open crow_all.h and points me to the following method:

//Create a route using a rule (**USE CROW_ROUTE instead**)
template <uint64_t Tag>
auto route(std::string&& rule)
-> typename std::result_of<decltype(&Router::new_rule_tagged<Tag>)(Router, std::string&&)>::type
{
return router_.new_rule_tagged<Tag>(std::move(rule));
}

Let me know i you have any questions I have missed or suggestions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions