Skip to content

GCC 12 #58

Description

@gtortone

Hi,
there is a build error in src/ServiceDiscovery/ServicesBackend.cpp with GCC 12
we are using on mPMT Debian distribution.

It is possible to fix error changing line 1107:

if(!SendCommand("W_QUERY"," select now()", &resp, std::min(500L,time_left.count()))){

with

if(!SendCommand("W_QUERY"," select now()", &resp, std::min(500LL,time_left.count()))){

(500L -> 500LL)

Thanks

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