Building Notes

lib/acl-internal.c: In function ‘free_permission_context’: lib/acl-internal.c:479:1: error: function might be candidate for attribute ‘const’ [-Werror=suggest-attribute=const]

https://bug-coreutils.gnu.narkive.com/q14Ima4F/bug-32762-bug-at-coreutils-compile

Testing

The gnulib.mk makefile overrides TESTS_ENVIRONMENT which is supposed to be a user variable, and is used by the extension: eg. TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'

Overrides Test Environments

The test suite sets TESTS_ENVIRONMENT user variable to control testing in various locales; the extension is thus not able to set environments specified in the autotools.TESTS_ENVIRONMENT global setting or the autotools.test_environments settings.

The Makefiles should be changed to use the AM_TESTS_ENVIRONMENT variable instead.

As it is, there is only one test environment available for this project: the one set by the developers in the Makefiles.

See GNU Automake manual: Testsuite Environment Overrides

Compilation failure

test-alignof.c: expected a comma (the one-argument version of static_assert is not enabled in this mode)C/C++(2783)

because the cmdline

Makefile:8283: update target ‘test-alignof.o’ due to:depbase=`echo test-alignof.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DEXEEXT=\"\" -I. -I/tmp/coreutils/gnulib-tests -I../lib -DIN_COREUTILS_GNULIB_TESTS=1 -I. -I/tmp/coreutils/gnulib-tests -I.. -I/tmp/coreutils/gnulib-tests/.. -I../lib -I/tmp/coreutils/gnulib-tests/../lib -Wall -Wbad-function-cast -Wdate-time -Wdisabled-optimization -Wextra -Wformat-signedness -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wopenmp-simd -Woverlength-strings -Wpacked -Wpointer-arith -Wshadow -Wsuggest-attribute=noreturn -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wunknown-pragmas -Wvariadic-macros -Wvla -Wwrite-strings -Warray-bounds=2 -Wformat=2 -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wno-format-nonliteral -fdiagnostics-show-option -funit-at-a-time -Wno-return-local-addr -Werror -Wno-error -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -Wno-error=suggest-attribute=const -Wno-error=overflow -Wno-error=bool-compare -ggdb3 -O0 -MT test-alignof.o -MD -MP -MF $depbase.Tpo -c -o test-alignof.o /tmp/coreutils/gnulib-tests/test-alignof.c &&\ mv -f $depbase.Tpo $depbase.Po

… is not given to IntelliSense

### IntelliSense issues

There seems to be a bug with intellisense on symlink files. It finds the wrong struct definitions. See #44