Age | Commit message (Collapse) | Author | Lines |
|
Symptom with Clang 15:
> In file included from userinfo.c:20:
> ./userinfo.h:38:27: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
> void invalidate_user_cache(); /* safe to call from signal handler */
> ^
> void
> [many more]
|
|
Fixes #122
|
|
|
|
the way.
|
|
|
|
|
|
When building out of the place the executables are not in the same
location as the scripts being called. This means that the test scripts
need to be able to handle the executables being the in the current
directory and the script/source files being in a different directory.
This will work now work with both building in place and building out of
place and can be tested as follows:
/autogen.sh && mkdir -p build && cd build && ../configure && make check
|
|
The path to the source files should be top_srcdir not top_builddir. When
building in place these are both the same so this doesn't fail but is
technically wrong. This change will allow both cases to work.
To demonstrace how this was broken before and to ensure it is fixed now
you can do the following:
./autogen.sh && mkdir -p build && cd build && ../configure && make
Running make check out of place still doesn't work but that will require
a bit more change.
|
|
Fixes #15. Thanks @tyll!
|
|
Fixes #12.
|
|
|
|
|
|
|