raysan5 / raygui

A simple and easy-to-use immediate-mode gui library
zlib License
3.26k stars 280 forks source link

Error - cannot convert bool* to int* #386

Closed iongion closed 4 months ago

iongion commented 4 months ago

Using current master branch, I get

Attempting on building on ubuntu 22.04 using CMAKE_CXX_STANDARD=14 and CMAKE_BUILD_TYPE=Release

raygui/src/raygui.h:1946:34: error: cannot convert ‘bool*’ to ‘int*’ in assignment
 1946 |     if (active == NULL) active = &temp;
      |                                  ^~~~~
      |                                  |
      |                                  bool*

Manually changing temp to int solves it, but I don't get it

iongion commented 4 months ago

Sorry, invalid ticket - it was not on master