Skip to content

resolution for expected an identifier for the attribute name [[__nodiscard__, __gnu__::__const__]] #312

@gaowanlu

Description

@gaowanlu

libgo/include/coroutine.h

Comment out the # define __const __ in the libgo/include/routine. h file

#pragma once
//#define __const__  // to delete it ====================>
#include "common/config.h"
#include "common/pp.h"
#include "common/syntax_helper.h"

#include "sync/channel.h"
#include "sync/co_mutex.h"
#include "sync/co_rwmutex.h"
#include "sync/co_condition_variable.h"
#include "timer/timer.h"
#include "scheduler/processer.h"
#include "cls/co_local_storage.h"
#include "pool/connection_pool.h"
#include "pool/async_coroutine_pool.h"
#include "defer/defer.h"
#include "debug/listener.h"
#include "debug/debugger.h"
//#include "netio/unix/errno_hook.h"

#define LIBGO_VERSION 300

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions