[MacPorts] #61889: gnome-vfs: error: implicit declaration of function 'g_printf' is invalid in C99 [-Werror, -Wimplicit-function-declaration] (was: gnome-vfs build fails)
MacPorts
noreply at macports.org
Tue Dec 22 14:58:46 UTC 2020
#61889: gnome-vfs: error: implicit declaration of function 'g_printf' is invalid in
C99 [-Werror,-Wimplicit-function-declaration]
------------------------+--------------------
Reporter: vrurg | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur
Port: gnome-vfs |
------------------------+--------------------
Comment (by mf2k):
Error is:
{{{
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I.. -I..
-I../libgnomevfs -DORBIT2=1 -D_REENTRANT -I/opt/local/include/gconf/2
-I/opt/local/include/orbit-2.0 -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include
-DMODULES_PATH=\"/opt/local/lib/vfs/modules\" -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -pipe
-Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -arch
x86_64 -MT test-mime-info-cache.o -MD -MP -MF .deps/test-mime-info-
cache.Tpo -c -o test-mime-info-cache.o test-mime-info-cache.c
:info:build test-async-directory.c:236:2: error: implicit declaration of
function 'g_printf' is invalid in C99 [-Werror,-Wimplicit-function-
declaration]
:info:build g_printf("Initializing gnome-libs...");
:info:build ^
:info:build test-async-directory.c:236:2: note: did you mean 'g_print'?
:info:build /opt/local/include/glib-2.0/glib/gmessages.h:465:17: note:
'g_print' declared here
:info:build void g_print (const gchar
*format,
:info:build ^
:info:build 1 error generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61889#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list