Skip to content

Remove register keyword as it has been deprecated since c++17 - #475

Open
listout wants to merge 2 commits into
adaptivecomputing:masterfrom
listout:rem-resiter
Open

Remove register keyword as it has been deprecated since c++17#475
listout wants to merge 2 commits into
adaptivecomputing:masterfrom
listout:rem-resiter

Conversation

@listout

Copy link
Copy Markdown

Bug encontered on Gentoo with clang 16. Please refer
https://bugs.gentoo.org/898574

Brahmajit Das added 2 commits May 13, 2023 02:48
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Bug encontered on Gentoo with clang 16. Please refer
https://bugs.gentoo.org/898574
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Comment threadsrc/include/tcp.h
int tcp_chan_has_data(struct tcp_chan *chan);

extern time_t pbs_tcp_timeout;
extern "C" time_t pbs_tcp_timeout;

@yselkowitzyselkowitzSep 9, 2024

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This causes an error with C, needs to be something like:

Suggested change
extern"C"time_tpbs_tcp_timeout;
#ifdef__cplusplus
extern"C"time_tpbs_tcp_timeout;
#else
externtime_tpbs_tcp_timeout;
#endif

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@listout@yselkowitz