Skip to content

Build issue: error: too many arguments to function ‘func’; expected 0, have 1 49 | return func(s); #435

@daryasinilo

Description

@daryasinilo
In file included from /tmp/fbcode_builder_getdeps-ZsourcesZCache-comparison-labZCacheLibZbuildZfbcode_builder-root/extracted/libunwind-f081cf42917bdd5c428b77850b473f31f81767cf.tar.gz/libunwind-f081cf42917bdd5c428b77850b473f31f81767cf/tests/Ltest-nomalloc.c:4:
/tmp/fbcode_builder_getdeps-ZsourcesZCache-comparison-labZCacheLibZbuildZfbcode_builder-root/extracted/libunwind-f081cf42917bdd5c428b77850b473f31f81767cf.tar.gz/libunwind-f081cf42917bdd5c428b77850b473f31f81767cf/tests/Gtest-nomalloc.c: In function ‘malloc’:
/tmp/fbcode_builder_getdeps-ZsourcesZCache-comparison-labZCacheLibZbuildZfbcode_builder-root/extracted/libunwind-f081cf42917bdd5c428b77850b473f31f81767cf.tar.gz/libunwind-f081cf42917bdd5c428b77850b473f31f81767cf/tests/Gtest-nomalloc.c:49:12: error: too many arguments to function ‘func’; expected 0, have 1
   49 |     return func(s);
      |            ^~~~ ~
  CC       Lrs-race.o
make[1]: *** [Makefile:1750: Ltest-nomalloc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
  CC       Ltest-init-local-signal.o
make[1]: Leaving directory '/tmp/fbcode_builder_getdeps-ZsourcesZCache-comparison-labZCacheLibZbuildZfbcode_builder-root/build/libunwind-WvcCIG15rP8vMgDPNZ4L8tMxib8kU5g6p51oFrFqmGk/tests'
make: *** [Makefile:630: all-recursive] Error 1
Command '['make', '-j6']' returned non-zero exit status 2.
!! Failed
root@ad5956de0cd4:/sources/Cache-comparison-lab/CacheLib[ main ]# 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions