[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some build issues

From: Ergus
Subject: Some build issues
Date: Fri, 18 Jun 2021 13:48:13 +0200


I have two issues during the build that probably may be checked.

I didn't report them as issues because they are not critical for most of
the users.

Just building master with a modern gcc (11.1) I am getting some
warnings. They are not critical, but I see that some recent commit are
eliminating gcc warnings, so probably you will like to fix these too.

../../src/comp.c: In function ‘declare_runtime_imported_funcs’:
../../src/comp.c:2696:5: warning: this ‘while’ clause does not guard... 
 2696 |   } while (0)
      |     ^~~~~
../../src/comp.c:2704:3: note: in expansion of macro ‘ADD_IMPORTED’
 2704 |   ADD_IMPORTED (helper_PSEUDOVECTOR_TYPEP_XUNTAG, comp.bool_type, 2, 
      |   ^~~~~~~~~~~~
../../src/comp.c:2690:3: note: ...this statement, but the latter is 
misleadingly indented as if it were guarded by the ‘while’
 2690 |   {                                                                     
      |   ^


../../src/image.c: In function ‘tiff_load’:
../../src/image.c:7980:3: warning: ‘uint32’ is deprecated 
 7980 |   uint32 *buf;
      |   ^~~~~~
../../src/image.c:8106:7: warning: ‘uint32’ is deprecated 
 8106 |       uint32 *row = buf + y * width;
      |       ^~~~~~
../../src/image.c:8110:11: warning: ‘uint32’ is deprecated 
 8110 |           uint32 abgr = row[x];
      |           ^~~~~~

Building in parallel (make -j install) it seems to install wrongly
because when I try to execute after that I get:

Error using execdir 
cannot open shared object file: No such file or directory

If I run:

make install
then everything works fine.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]