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

OS X 10.11.6 make error #8

Open
Kei18 opened this issue Nov 1, 2017 · 1 comment
Open

OS X 10.11.6 make error #8

Kei18 opened this issue Nov 1, 2017 · 1 comment
Assignees

Comments

@Kei18
Copy link

Kei18 commented Nov 1, 2017

Hi

I'm facing make error on OS X 10.11.6.

[ 64%] Building CXX object server/libplayerdrivers/CMakeFiles/playerdrivers.dir/__/drivers/mixed/rflex/rflex.o
/Users/Kei18/player/server/drivers/mixed/rflex/rflex.cc:319:1: error: static data member definition cannot specify a storage class
extern int               RFLEX::joy_control;
^~~~~~~
1 error generated.
make[2]: *** [server/libplayerdrivers/CMakeFiles/playerdrivers.dir/__/drivers/mixed/rflex/rflex.o] Error 1
make[1]: *** [server/libplayerdrivers/CMakeFiles/playerdrivers.dir/all] Error 2
make: *** [all] Error 2
@richmattes
Copy link
Member

I'm not able to re-produce this, but I think the extern in that line is unnecessary if it's just initializing the static class member.

@richmattes richmattes self-assigned this Jan 28, 2018
richmattes added a commit that referenced this issue Jan 28, 2018
Removed an un-necessary extern statement from the definition of
a static class member variable.
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

2 participants