pinba_engine icon indicating copy to clipboard operation
pinba_engine copied to clipboard

Compile Errors Ubuntu 18.04

Open wpbullet opened this issue 6 years ago • 0 comments

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') {     \

wpbullet avatar Oct 30 '18 13:10 wpbullet