Nuklear_glfw_gl2.h

Hi Dougl,

Thank you very much for the previous information and help.
In this post, I would like to touch on the compilation issue, the case is not related to GLFW,
I have conditions when doing compilation:

../../../../../../include/nuklear.h:18550:20: warning: variable ‘text’ set but not used [-Wunused-but-set-variable]
18550 |     struct nk_text text;
../../../../../../include/nuklear_glfw_gl2.h:23:62: warning: ‘struct nk_font_atlas’ declared inside parameter list will not be visible outside of this definition or declaration
   23 | NK_API void                 nk_glfw3_font_stash_begin(struct nk_font_atlas **atlas);
../../../../../../include/nuklear.h:6086:1: warning: ‘nk_cos’ defined but not used [-Wunused-function]
 6086 | nk_cos(float x)
      | ^~~~~~
../../../../../../include/nuklear.h:6073:1: warning: ‘nk_sin’ defined but not used [-Wunused-function]
 6073 | nk_sin(float x)
      | ^~~~~~
../../../../../../include/nuklear.h:6068:1: warning: ‘nk_sqrt’ defined but not used [-Wunused-function]
 6068 | nk_sqrt(float x)

For compilation I am using the files contained in “deps” of the new project.
I wonder what is the reason for this report, because when compiling the examples included in GLFW everything is fine.

Thanks,
– Rafał

Nuklear has a Github page on which you can read the documentation: