QB64 Phoenix Edition
Some errors building IDE in feren OS, but it built. Ok to use? - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: Some errors building IDE in feren OS, but it built. Ok to use? (/showthread.php?tid=2962)



Some errors building IDE in feren OS, but it built. Ok to use? - Dav - 08-17-2024

I am trying out feren OS linux.  Seems like a nice linux distro.  Installing QB64PE I got  a bunch of errors, but the IDE was built and ran after running the setup.   Question is, should I be worried about these erros an rebuild, or is it good to go as is?  

Here's part of my terminal messages showing errors.

- Dav

Quote:gs]
29824 |    devices[i].name = "[MOUSE][BUTTON][AXIS][WHEEL]";
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/c/libqb.cpp:29828:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
29828 |    devices[i].description = "Mouse";
      |                              ^~~~~~~
internal/c/libqb.cpp: In function ‘uint32_t sib()’:
internal/c/libqb.cpp:5884:1: warning: control reaches end of non-void function [-Wreturn-type]
5884 | }
      | ^
internal/c/libqb.cpp: In function ‘uint32_t sib_mod0()’:
internal/c/libqb.cpp:5921:1: warning: control reaches end of non-void function [-Wreturn-type]
5921 | }
      | ^
internal/c/libqb.cpp: In function ‘uint8_t* rm8()’:
internal/c/libqb.cpp:6104:1: warning: control reaches end of non-void function [-Wreturn-type]
6104 | }
      | ^
internal/c/libqb.cpp: In function ‘uint16_t* rm16()’:
internal/c/libqb.cpp:6291:1: warning: control reaches end of non-void function [-Wreturn-type]
6291 | }
      | ^
internal/c/libqb.cpp: In function ‘uint32_t* rm32()’:
internal/c/libqb.cpp:6478:1: warning: control reaches end of non-void function [-Wreturn-type]
6478 | }
      | ^
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/datetime.cpp -c -o internal/c/libqb/src/datetime.o
internal/c/libqb/src/datetime.cpp: In function ‘void sub_date(qbs*)’:
internal/c/libqb/src/datetime.cpp:207:20: warning: unused parameter ‘date’ [-Wunused-parameter]
  207 | void sub_date(qbs *date) {
      |              ~~~~~^~~~
internal/c/libqb/src/datetime.cpp: In function ‘void sub_time(qbs*)’:
internal/c/libqb/src/datetime.cpp:274:20: warning: unused parameter ‘str’ [-Wunused-parameter]
  274 | void sub_time(qbs *str) {
      |              ~~~~~^~~
internal/c/libqb/src/datetime.cpp: In function ‘qbs* func_time()’:
internal/c/libqb/src/datetime.cpp:296:23: warning: unused variable ‘x2’ [-Wunused-variable]
  296 |    static int32_t x, x2, i;
      |                      ^~
internal/c/libqb/src/datetime.cpp: At global scope:
internal/c/libqb/src/datetime.cpp:296:23: warning: ‘x2’ defined but not used [-Wunused-variable]
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/error_handle.cpp -c -o internal/c/libqb/src/error_handle.o
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/gfs.cpp -c -o internal/c/libqb/src/gfs.o
internal/c/libqb/src/gfs.cpp: In function ‘int32_t gfs_open(qbs*, int32_t, int32_t, int32_t)’:
internal/c/libqb/src/gfs.cpp:607:26: warning: unused variable ‘x2’ [-Wunused-variable]
  607 |    static int32_t i, x, x2, x3, e;
      |                          ^~
internal/c/libqb/src/gfs.cpp:607:30: warning: unused variable ‘x3’ [-Wunused-variable]
  607 |    static int32_t i, x, x2, x3, e;
      |                              ^~
internal/c/libqb/src/gfs.cpp:607:34: warning: unused variable ‘e’ [-Wunused-variable]
  607 |    static int32_t i, x, x2, x3, e;
      |                                  ^
internal/c/libqb/src/gfs.cpp: In function ‘int32_t gfs_write(int32_t, int64_t, uint8_t*, int64_t)’:
internal/c/libqb/src/gfs.cpp:958:20: warning: unused variable ‘e’ [-Wunused-variable]
  958 |    static int32_t e;
      |                    ^
internal/c/libqb/src/gfs.cpp: In function ‘int32_t gfs_read(int32_t, int64_t, uint8_t*, int64_t)’:
internal/c/libqb/src/gfs.cpp:1017:20: warning: unused variable ‘e’ [-Wunused-variable]
1017 |    static int32_t e;
      |                    ^
internal/c/libqb/src/gfs.cpp: In function ‘int32_t gfs_lock(int32_t, int64_t, int64_t)’:
internal/c/libqb/src/gfs.cpp:1110:29: warning: variable ‘f’ set but not used [-Wunused-but-set-variable]
1110 |    static gfs_file_struct *f;
      |                            ^
internal/c/libqb/src/gfs.cpp: In function ‘int32_t gfs_unlock(int32_t, int64_t, int64_t)’:
internal/c/libqb/src/gfs.cpp:1152:29: warning: variable ‘f’ set but not used [-Wunused-but-set-variable]
1152 |    static gfs_file_struct *f;
      |                            ^
internal/c/libqb/src/gfs.cpp: At global scope:
internal/c/libqb/src/gfs.cpp:1017:20: warning: ‘e’ defined but not used [-Wunused-variable]
1017 |    static int32_t e;
      |                    ^
internal/c/libqb/src/gfs.cpp:958:20: warning: ‘e’ defined but not used [-Wunused-variable]
  958 |    static int32_t e;
      |                    ^
internal/c/libqb/src/gfs.cpp:607:34: warning: ‘e’ defined but not used [-Wunused-variable]
  607 |    static int32_t i, x, x2, x3, e;
      |                                  ^
internal/c/libqb/src/gfs.cpp:607:30: warning: ‘x3’ defined but not used [-Wunused-variable]
  607 |    static int32_t i, x, x2, x3, e;
      |                              ^~
internal/c/libqb/src/gfs.cpp:607:26: warning: ‘x2’ defined but not used [-Wunused-variable]
  607 |    static int32_t i, x, x2, x3, e;
      |                          ^~
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/qblist.cpp -c -o internal/c/libqb/src/qblist.o
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/hexoctbin.cpp -c -o internal/c/libqb/src/hexoctbin.o
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/mem.cpp -c -o internal/c/libqb/src/mem.o
internal/c/libqb/src/mem.cpp: In function ‘void sub__memfree(void*)’:
internal/c/libqb/src/mem.cpp:50:46: warning: NULL used in arithmetic [-Wpointer-arith]
  50 |    if (((mem_block *)(mem))->lock_offset == NULL) {
      |                                              ^~~~
internal/c/libqb/src/mem.cpp: In function ‘int32_t func__memexists(void*)’:
internal/c/libqb/src/mem.cpp:134:46: warning: NULL used in arithmetic [-Wpointer-arith]
  134 |    if (((mem_block *)(blk))->lock_offset == NULL)
      |                                              ^~~~
internal/c/libqb/src/mem.cpp: In function ‘void* func__memget(mem_block*, intptr_t, intptr_t)’:
internal/c/libqb/src/mem.cpp:143:46: warning: NULL used in arithmetic [-Wpointer-arith]
  143 |    if (((mem_block *)(blk))->lock_offset == NULL) {
      |                                              ^~~~
internal/c/libqb/src/mem.cpp: In function ‘void sub__memfill(mem_block*, intptr_t, intptr_t, intptr_t, intptr_t)’:
internal/c/libqb/src/mem.cpp:183:47: warning: NULL used in arithmetic [-Wpointer-arith]
  183 |    if (((mem_block *)(dblk))->lock_offset == NULL) {
      |                                              ^~~~
internal/c/libqb/src/mem.cpp: In function ‘void sub__memcopy(void*, intptr_t, intptr_t, void*, intptr_t)’:
internal/c/libqb/src/mem.cpp:232:47: warning: NULL used in arithmetic [-Wpointer-arith]
  232 |    if (((mem_block *)(sblk))->lock_offset == NULL || ((mem_block *)(dblk))->lock_offset == NULL) {
      |                                              ^~~~
internal/c/libqb/src/mem.cpp:232:93: warning: NULL used in arithmetic [-Wpointer-arith]
  232 |    if (((mem_block *)(sblk))->lock_offset == NULL || ((mem_block *)(dblk))->lock_offset == NULL) {
      |                                                                                            ^~~~
internal/c/libqb/src/mem.cpp:234:51: warning: NULL used in arithmetic [-Wpointer-arith]
  234 |        if (((mem_block *)(sblk))->lock_offset == NULL && ((mem_block *)(dblk))->lock_offset == NULL) {
      |                                                  ^~~~
internal/c/libqb/src/mem.cpp:234:97: warning: NULL used in arithmetic [-Wpointer-arith]
  234 |        if (((mem_block *)(sblk))->lock_offset == NULL && ((mem_block *)(dblk))->lock_offset == NULL) {
      |                                                                                                ^~~~
internal/c/libqb/src/mem.cpp:238:51: warning: NULL used in arithmetic [-Wpointer-arith]
  238 |        if (((mem_block *)(sblk))->lock_offset == NULL) {
      |                                                  ^~~~
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/math.cpp -c -o internal/c/libqb/src/math.o
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/rounding.cpp -c -o internal/c/libqb/src/rounding.o
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/shell.cpp -c -o internal/c/libqb/src/shell.o
internal/c/libqb/src/shell.cpp: In function ‘int64_t func_shell(qbs*)’:
internal/c/libqb/src/shell.cpp:183:20: warning: unused variable ‘i’ [-Wunused-variable]
  183 |    static int32_t i;
      |                    ^
internal/c/libqb/src/shell.cpp:185:20: warning: variable ‘use_console’ set but not used [-Wunused-but-set-variable]
  185 |    static int32_t use_console;
      |                    ^~~~~~~~~~~
internal/c/libqb/src/shell.cpp:436:1: warning: label ‘shell_complete’ defined but not used [-Wunused-label]
  436 | shell_complete:
      | ^~~~~~~~~~~~~~
internal/c/libqb/src/shell.cpp: In function ‘int64_t func__shellhide(qbs*)’:
internal/c/libqb/src/shell.cpp:456:20: warning: unused variable ‘i’ [-Wunused-variable]
  456 |    static int32_t i;
      |                    ^
internal/c/libqb/src/shell.cpp:655:1: warning: label ‘shell_complete’ defined but not used [-Wunused-label]
  655 | shell_complete:;
      | ^~~~~~~~~~~~~~
internal/c/libqb/src/shell.cpp: In function ‘void sub_shell(qbs*, int32_t)’:
internal/c/libqb/src/shell.cpp:678:20: warning: unused variable ‘i’ [-Wunused-variable]
  678 |    static int32_t i;
      |                    ^
internal/c/libqb/src/shell.cpp:680:20: warning: variable ‘use_console’ set but not used [-Wunused-but-set-variable]
  680 |    static int32_t use_console;
      |                    ^~~~~~~~~~~
internal/c/libqb/src/shell.cpp:926:1: warning: label ‘shell_complete’ defined but not used [-Wunused-label]
  926 | shell_complete:
      | ^~~~~~~~~~~~~~
internal/c/libqb/src/shell.cpp: In function ‘void sub_shell2(qbs*, int32_t)’:
internal/c/libqb/src/shell.cpp:950:20: warning: unused variable ‘i’ [-Wunused-variable]
  950 |    static int32_t i;
      |                    ^
internal/c/libqb/src/shell.cpp:1143:1: warning: label ‘shell_complete’ defined but not used [-Wunused-label]
1143 | shell_complete:;
      | ^~~~~~~~~~~~~~
internal/c/libqb/src/shell.cpp: In function ‘void sub_shell3(qbs*, int32_t)’:
internal/c/libqb/src/shell.cpp:1157:20: warning: unused variable ‘i’ [-Wunused-variable]
1157 |    static int32_t i;
      |                    ^
internal/c/libqb/src/shell.cpp:1332:1: warning: label ‘shell_complete’ defined but not used [-Wunused-label]
1332 | shell_complete:;
      | ^~~~~~~~~~~~~~
internal/c/libqb/src/shell.cpp: In function ‘void sub_shell4(qbs*, int32_t)’:
internal/c/libqb/src/shell.cpp:1343:20: warning: unused variable ‘i’ [-Wunused-variable]
1343 |    static int32_t i;
      |                    ^
internal/c/libqb/src/shell.cpp:1516:1: warning: label ‘shell_complete’ defined but not used [-Wunused-label]
1516 | shell_complete:;
      | ^~~~~~~~~~~~~~
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/qbs.cpp -c -o internal/c/libqb/src/qbs.o
internal/c/libqb/src/qbs.cpp: In function ‘void qbs_concat(uint32_t)’:
internal/c/libqb/src/qbs.cpp:162:23: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
  162 |        for (i = 0; i < qbs_list_nexti; i++) {
      |                    ~~^~~~~~~~~~~~~~~~
internal/c/libqb/src/qbs.cpp:184:23: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
  184 |        for (i = 0; i < qbs_list_nexti; i++) {
      |                    ~~^~~~~~~~~~~~~~~~
internal/c/libqb/src/qbs.cpp: In function ‘qbs* qbs_set(qbs*, qbs*)’:
internal/c/libqb/src/qbs.cpp:370:11: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
  370 |    if (i != qbs_list_nexti)
      |        ~~^~~~~~~~~~~~~~~~~
internal/c/libqb/src/qbs.cpp: In function ‘int32_t qbs_greaterthan(qbs*, qbs*)’:
internal/c/libqb/src/qbs.cpp:555:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
  555 |    if (!l1)
      |        ^
internal/c/libqb/src/qbs.cpp: In function ‘int32_t qbs_lessthan(qbs*, qbs*)’:
internal/c/libqb/src/qbs.cpp:578:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
  578 |    if (!l1)
      |        ^
internal/c/libqb/src/qbs.cpp: In function ‘int32_t qbs_asc(qbs*, uint32_t)’:
internal/c/libqb/src/qbs.cpp:643:11: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
  643 |    if (i < str->len) {
      |        ~~^~~~~~~~~~
internal/c/libqb/src/shell.cpp: In function ‘void sub_shell(qbs*, int32_t)’:
internal/c/libqb/src/shell.cpp:903:15: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
  903 |        system((char *)strz->chr);
      |        ~~~~~~^~~~~~~~~~~~~~~~~~~
internal/c/libqb/src/shell.cpp: In function ‘void sub_shell2(qbs*, int32_t)’:
internal/c/libqb/src/shell.cpp:1137:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
1137 |    system((char *)strz->chr);
      |    ~~~~~~^~~~~~~~~~~~~~~~~~~
internal/c/libqb/src/shell.cpp: At global scope:
internal/c/libqb/src/shell.cpp:1343:20: warning: ‘i’ defined but not used [-Wunused-variable]
1343 |    static int32_t i;
      |                    ^
internal/c/libqb/src/shell.cpp:1157:20: warning: ‘i’ defined but not used [-Wunused-variable]
1157 |    static int32_t i;
      |                    ^
internal/c/libqb/src/shell.cpp:950:20: warning: ‘i’ defined but not used [-Wunused-variable]
  950 |    static int32_t i;
      |                    ^
internal/c/libqb/src/shell.cpp:678:20: warning: ‘i’ defined but not used [-Wunused-variable]
  678 |    static int32_t i;
      |                    ^
internal/c/libqb/src/shell.cpp:456:20: warning: ‘i’ defined but not used [-Wunused-variable]
  456 |    static int32_t i;
      |                    ^
internal/c/libqb/src/shell.cpp:183:20: warning: ‘i’ defined but not used [-Wunused-variable]
  183 |    static int32_t i;
      |                    ^
internal/c/libqb/src/shell.cpp:57:16: warning: ‘int32_t cmd_command(qbs*)’ defined but not used [-Wunused-function]
  57 | static int32_t cmd_command(qbs *str2) {
      |                ^~~~~~~~~~~
internal/c/libqb/src/shell.cpp: In function ‘int64_t func_shell(qbs*)’:
internal/c/libqb/src/shell.cpp:445:12: warning: ‘return_code’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  445 |    return return_code;
      |            ^~~~~~~~~~~
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/qbs_str.cpp -c -o internal/c/libqb/src/qbs_str.o
internal/c/libqb/src/qbs_str.cpp: In function ‘qbs* qbs_str(int64_t)’:
internal/c/libqb/src/qbs_str.cpp:18:49: warning: format ‘%lli’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
  18 |    tqbs->len = sprintf((char *)tqbs->chr, "% lli", value);
      |                                            ~~~~^  ~~~~~
      |                                                |  |
      |                                                |  int64_t {aka long int}
      |                                                long long int
      |                                            % li
internal/c/libqb/src/qbs_str.cpp: In function ‘qbs* qbs_str(uint64_t)’:
internal/c/libqb/src/qbs_str.cpp:47:49: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
  47 |    tqbs->len = sprintf((char *)tqbs->chr, " %llu", value);
      |                                              ~~~^  ~~~~~
      |                                                |  |
      |                                                |  uint64_t {aka long unsigned int}
      |                                                long long unsigned int
      |                                              %lu
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/qbs_cmem.cpp -c -o internal/c/libqb/src/qbs_cmem.o
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/qbs_mk_cv.cpp -c -o internal/c/libqb/src/qbs_mk_cv.o
internal/c/libqb/src/qbs_cmem.cpp: In function ‘void qbs_concat_cmem(uint32_t)’:
internal/c/libqb/src/qbs_cmem.cpp:68:23: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
  68 |        for (i = 0; i < qbs_cmem_list_nexti; i++) {
      |                    ~~^~~~~~~~~~~~~~~~~~~~~
internal/c/libqb/src/qbs_cmem.cpp: In function ‘bool qbs_new_fixed_cmem(uint8_t*, uint32_t, uint8_t, qbs*)’:
internal/c/libqb/src/qbs_cmem.cpp:128:51: warning: unused parameter ‘size’ [-Wunused-parameter]
  128 | bool qbs_new_fixed_cmem(uint8_t *offset, uint32_t size, uint8_t tmp, qbs *newstr) {
      |                                          ~~~~~~~~~^~~~
internal/c/libqb/src/qbs_cmem.cpp:128:65: warning: unused parameter ‘tmp’ [-Wunused-parameter]
  128 | bool qbs_new_fixed_cmem(uint8_t *offset, uint32_t size, uint8_t tmp, qbs *newstr) {
      |                                                        ~~~~~~~~^~~
internal/c/libqb/src/qbs_cmem.cpp: In function ‘void qbs_copy_cmem(qbs*, qbs*)’:
internal/c/libqb/src/qbs_cmem.cpp:194:11: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
  194 |    if (i != qbs_cmem_list_nexti)
      |        ~~^~~~~~~~~~~~~~~~~~~~~~
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/string_functions.cpp -c -o internal/c/libqb/src/string_functions.o
internal/c/libqb/src/qbs_mk_cv.cpp: In function ‘intptr_t string2o(qbs*)’:
internal/c/libqb/src/qbs_mk_cv.cpp:492:18: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘long unsigned int’ [-Wsign-compare]
  492 |    if (str->len < sizeof(intptr_t)) {
      |        ~~~~~~~~~^~~~~~~~~~~~~~~~~~
internal/c/libqb/src/qbs_mk_cv.cpp: In function ‘uintptr_t string2uo(qbs*)’:
internal/c/libqb/src/qbs_mk_cv.cpp:501:18: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘long unsigned int’ [-Wsign-compare]
  501 |    if (str->len < sizeof(uintptr_t)) {
      |        ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
internal/c/libqb/src/qbs_mk_cv.cpp: In function ‘uint64_t string2ubit(qbs*, uint32_t)’:
internal/c/libqb/src/qbs_mk_cv.cpp:511:18: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
  511 |    if (str->len < ((bsize + 7) >> 3)) {
      |        ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
internal/c/libqb/src/qbs_mk_cv.cpp: In function ‘int64_t string2bit(qbs*, uint32_t)’:
internal/c/libqb/src/qbs_mk_cv.cpp:521:18: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
  521 |    if (str->len < ((bsize + 7) >> 3)) {
      |        ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/http.cpp -c -o internal/c/libqb/src/http.o
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/threading-posix.cpp -c -o internal/c/libqb/src/threading-posix.o
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/glut-main-thread.cpp -c -o internal/c/libqb/src/glut-main-thread.o
internal/c/libqb/src/http.cpp: In function ‘void __fillout_curl_info(handle*)’:
internal/c/libqb/src/http.cpp:112:31: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  112 |    if (res != CURLE_OK || cl == -1) {
      |                            ~~~^~~~~
In file included from internal/c/libqb/src/glut-main-thread.cpp:25:
./internal/c/libqb/include/mac-mouse-support.h: In function ‘void macMouseUpdatePosition(int, int)’:
./internal/c/libqb/include/mac-mouse-support.h:10:47: warning: unused parameter ‘x’ [-Wunused-parameter]
  10 | static inline void macMouseUpdatePosition(int x, int y) {}
      |                                          ~~~~^
./internal/c/libqb/include/mac-mouse-support.h:10:54: warning: unused parameter ‘y’ [-Wunused-parameter]
  10 | static inline void macMouseUpdatePosition(int x, int y) {}
      |                                                  ~~~~^
internal/c/libqb/src/glut-main-thread.cpp: In function ‘void glutWarning(const char*, __va_list_tag*)’:
internal/c/libqb/src/glut-main-thread.cpp:52:37: warning: unused parameter ‘fmt’ [-Wunused-parameter]
  52 | static void glutWarning(const char *fmt, va_list lst) {
      |                        ~~~~~~~~~~~~^~~
internal/c/libqb/src/glut-main-thread.cpp:52:50: warning: unused parameter ‘lst’ [-Wunused-parameter]
  52 | static void glutWarning(const char *fmt, va_list lst) {
      |                                          ~~~~~~~~^~~
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/glut-message.cpp -c -o internal/c/libqb/src/glut-message.o
In file included from internal/c/libqb/src/glut-message.cpp:18:
./internal/c/libqb/include/mac-mouse-support.h: In function ‘void macMouseUpdatePosition(int, int)’:
./internal/c/libqb/include/mac-mouse-support.h:10:47: warning: unused parameter ‘x’ [-Wunused-parameter]
  10 | static inline void macMouseUpdatePosition(int x, int y) {}
      |                                          ~~~~^
./internal/c/libqb/include/mac-mouse-support.h:10:54: warning: unused parameter ‘y’ [-Wunused-parameter]
  10 | static inline void macMouseUpdatePosition(int x, int y) {}
      |                                                  ~~~~^
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -Wall -Wextra internal/c/libqb/src/glut-msg-queue.cpp -c -o internal/c/libqb/src/glut-msg-queue.o
cc -O2  -DDEPENDENCY_CONSOLE_ONLY -Wall internal/c/parts/gui/tinyfiledialogs.c -c -o internal/c/parts/gui/tinyfiledialogs.o
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -DDEPENDENCY_CONSOLE_ONLY -Wall internal/c/parts/gui/gui.cpp -c -o internal/c/parts/gui/gui.o
In file included from internal/c/parts/gui/gui.cpp:17:
./internal/c/libqb/include/image.h: In function ‘constexpr uint32_t func__rgb32(int32_t, int32_t, int32_t)’:
./internal/c/libqb/include/image.h:116:33: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
  116 |    return (r << 16) + (g << 8) + b | 0xFF000000;
      |            ~~~~~~~~~~~~~~~~~~~~~^~~
./internal/c/libqb/include/image.h: In function ‘constexpr uint32_t func__rgb32(int32_t)’:
./internal/c/libqb/include/image.h:136:33: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
  136 |    return (i << 16) + (i << 8) + i | 0xFF000000;
      |            ~~~~~~~~~~~~~~~~~~~~~^~~
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -DCLIP_ENABLE_IMAGE=1 -DHAVE_XCB_XLIB_H -DHAVE_PNG_H -w internal/c/parts/os/clipboard/clip/clip.cpp -c -o internal/c/parts/os/clipboard/clip/clip.o
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -DCLIP_ENABLE_IMAGE=1 -DHAVE_XCB_XLIB_H -DHAVE_PNG_H -w internal/c/parts/os/clipboard/clip/image.cpp -c -o internal/c/parts/os/clipboard/clip/image.o
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -DCLIP_ENABLE_IMAGE=1 -DHAVE_XCB_XLIB_H -DHAVE_PNG_H -w internal/c/parts/os/clipboard/clip/clip_x11.cpp -c -o internal/c/parts/os/clipboard/clip/clip_x11.o
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -DCLIP_ENABLE_IMAGE=1 -DHAVE_XCB_XLIB_H -DHAVE_PNG_H -Wall -Wextra internal/c/parts/os/clipboard/clipboard.cpp -c -o internal/c/parts/os/clipboard/clipboard.o
In file included from internal/c/parts/os/clipboard/clipboard.cpp:19:
./internal/c/libqb/include/image.h: In function ‘constexpr uint32_t func__rgb32(int32_t, int32_t, int32_t)’:
./internal/c/libqb/include/image.h:116:33: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
  116 |    return (r << 16) + (g << 8) + b | 0xFF000000;
      |            ~~~~~~~~~~~~~~~~~~~~~^~~
./internal/c/libqb/include/image.h: In function ‘constexpr uint32_t func__rgb32(int32_t)’:
./internal/c/libqb/include/image.h:136:33: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
  136 |    return (i << 16) + (i << 8) + i | 0xFF000000;
      |            ~~~~~~~~~~~~~~~~~~~~~^~~
g++ -O2  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE  -I./internal/c/parts/video/font/freetype/include -DDEPENDENCY_CONSOLE_ONLY -w internal/c/parts/video/font/font.cpp -c -o internal/c/parts/video/font/font.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/t42drivr.c -c -o internal/c/parts/video/font/freetype/t42drivr.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/sfwoff.c -c -o internal/c/parts/video/font/freetype/sfwoff.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/otvgpos.c -c -o internal/c/parts/video/font/freetype/otvgpos.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/bdflib.c -c -o internal/c/parts/video/font/freetype/bdflib.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/fttype1.c -c -o internal/c/parts/video/font/freetype/fttype1.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/ftwinfnt.c -c -o internal/c/parts/video/font/freetype/ftwinfnt.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/gxvmorx.c -c -o internal/c/parts/video/font/freetype/gxvmorx.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/otvmath.c -c -o internal/c/parts/video/font/freetype/otvmath.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/ftcbasic.c -c -o internal/c/parts/video/font/freetype/ftcbasic.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/ftinit.c -c -o internal/c/parts/video/font/freetype/ftinit.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/ftadvanc.c -c -o internal/c/parts/video/font/freetype/ftadvanc.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/ttobjs.c -c -o internal/c/parts/video/font/freetype/ttobjs.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/ttgxvar.c -c -o internal/c/parts/video/font/freetype/ttgxvar.o
cc -O3  -I./internal/c/parts/video/font/freetype/include -DFT2_BUILD_LIBRARY -w internal/c/parts/video/font/freetype/ftbbox.c -c -o internal/c/parts/video/font/freetype/ftbbox.o
cc -O3  -I./internal/c/parts/video/font/freety



RE: Some errors building IDE in feren OS, but it built. Ok to use? - DSMan195276 - 08-17-2024

It's fine, those are warnings not errors. We should probably silence them when running `./script_lnx.sh` since it's a bit confusing when you see them, but they're fine. Generally speaking we've already silenced or fixed all the warnings on our end, but different versions of gcc can produce different warnings though so you might still see some anyway.


RE: Some errors building IDE in feren OS, but it built. Ok to use? - Dav - 08-17-2024

Thank you for the quick reply!

- Dav