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

Compile Errors Ubuntu 18.04 #67

Open
wpbullet opened this issue Oct 30, 2018 · 0 comments
Open

Compile Errors Ubuntu 18.04 #67

wpbullet opened this issue Oct 30, 2018 · 0 comments

Comments

@wpbullet
Copy link

Trying to compile this on Ubuntu 18.04 using MariaDB 10.1, during the make process I get these errors (there are many that look like this):

ha_pinba.cc: In member function ‘int ha_pinba::tag_info_fetch_row(unsigned char*)’:
ha_pinba.cc:5893:44: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  if (!share->params || share->params[0] == '\0') {     \
                                            ^
ha_pinba.cc:5924:2: note: in expansion of macro ‘TAG_INFO_FETCH_TOP_BLOCK’
  TAG_INFO_FETCH_TOP_BLOCK(tag_info, tag);
  ^~~~~~~~~~~~~~~~~~~~~~~~
ha_pinba.cc: In member function ‘int ha_pinba::tag2_info_fetch_row(unsigned char*)’:
ha_pinba.cc:5893:44: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  if (!share->params || share->params[0] == '\0') {     \
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