Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: too few arguments to function void _ck_assert_failed #79

Open
sagitter opened this issue Jul 30, 2020 · 0 comments
Open

error: too few arguments to function void _ck_assert_failed #79

sagitter opened this issue Jul 30, 2020 · 0 comments

Comments

@sagitter
Copy link

Hi all.

This error comes out compiling libsedml-0.4.4 in Fedora 33 PPC64le only (development branch):

 90%] Building CXX object tests/CMakeFiles/test_sedml.dir/TestIssues.cpp.o
cd /builddir/build/BUILD/libSEDML-0.4.4/build/tests && /usr/bin/g++ -DLINUX -DPACKAGE_NAME=\"libsedml\" -DPACKAGE_VERSION=\"0.4.4\" -DUSE_ZLIB -I/builddir/build/BUILD/libSEDML-0.4.4/build/sedml/common -I/builddir/build/BUILD/libSEDML-0.4.4/build -I/builddir/build/BUILD/libSEDML-0.4.4/tests/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fPIC -I/usr/include/libxml2 -o CMakeFiles/test_sedml.dir/TestIssues.cpp.o -c /builddir/build/BUILD/libSEDML-0.4.4/tests/TestIssues.cpp
In file included from /builddir/build/BUILD/libSEDML-0.4.4/tests/TestIssues.cpp:43:
/builddir/build/BUILD/libSEDML-0.4.4/tests/TestIssues.cpp: In function 'void test_mathml_issue1_fn(int)':
/builddir/build/BUILD/libSEDML-0.4.4/tests/TestIssues.cpp:97:3: error: too few arguments to function 'void _ck_assert_failed(const char*, int, const char*, const char*, ...)'
   97 |   fail_unless( v1 == v2 );
      |   ^~~~~~~~~~~
/usr/include/check.h:502:27: note: declared here
  502 | CK_DLL_EXP void CK_EXPORT _ck_assert_failed(const char *file, int line,
      |                           ^~~~~~~~~~~~~~~~~
make[2]: *** [tests/CMakeFiles/test_sedml.dir/build.make:85: tests/CMakeFiles/test_sedml.dir/TestIssues.cpp.o] Error 1

Full build log: https://kojipkgs.fedoraproject.org//work/tasks/3886/48203886/build.log
Dependencies: https://kojipkgs.fedoraproject.org//work/tasks/3886/48203886/root.log

@sagitter sagitter changed the title error: too few arguments to function 'void _ck_assert_failed error: too few arguments to function void _ck_assert_failed Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant