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

Rename parameters new to something else #467

Open
ToJIka4 opened this issue Jul 2, 2019 · 0 comments
Open

Rename parameters new to something else #467

ToJIka4 opened this issue Jul 2, 2019 · 0 comments

Comments

@ToJIka4
Copy link

ToJIka4 commented Jul 2, 2019

Necessary to rename parameters new to something else. It cause error while compilling with g++.
You can see error : expected ‘,’ or ‘...’ before ‘new’

static inline long lkl_sys_link(const char *existing, const char *new)

Fast solution is using define

#define new __new
#include <lkl.h>
#include <lkl_host.h>
#undef new
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