poke-devel
[Top][All Lists]
Advanced

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

compilation error on GNU/Hurd


From: Bruno Haible
Subject: compilation error on GNU/Hurd
Date: Sun, 07 Mar 2021 11:17:29 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-203-generic; KDE/5.18.0; x86_64; ; )

On GNU/Hurd I see a compilation error:

../../poke/pk-cmd-editor.c: In function 'pk_cmd_editor':
../../poke/pk-cmd-editor.c:69:37: error: 'PATH_MAX' undeclared (first use in 
this function); did you mean 'INT8_MAX'?
   if (((des = path_search (tmpfile, PATH_MAX, NULL, "poke", true)) == -1)
                                     ^~~~~~~~
                                     INT8_MAX
../../poke/pk-cmd-editor.c:69:37: note: each undeclared identifier is reported 
only once for each function it appears in
Makefile:2415: recipe for target 'poke-pk-cmd-editor.o' failed
make[2]: *** [poke-pk-cmd-editor.o] Error 1

This proposed patch fixes it.

Attachment: 0001-Fix-compilation-error-on-GNU-Hurd.patch
Description: Text Data


reply via email to

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