Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gaowanlu opened this issue Sep 25, 2024 · 0 comments

Comments

@gaowanlu
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant