libgo
libgo copied to clipboard
resolution for `expected an identifier for the attribute name [[__nodiscard__, __gnu__::__const__]]`
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