clibs / cmocka

An elegant unit testing framework for C with support for mock objects.
Apache License 2.0
232 stars 55 forks source link

Compilation broken under Ubuntu 16.04 #9

Closed aicastell closed 7 months ago

aicastell commented 6 years ago

Compiling on Ubuntu 16.04 following these steps:

$ git clone https://github.com/clibs/cmocka.git
$ mkdir -p cmocka/build
$ cd cmocka/build
$ cmake ../
$ make

The compilation is broken with a bunch of errors like this:

error: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic]

This repo is outdated for 3 years... Is this the proper cmoka repository?

DEVoytas commented 6 years ago

Nah... See the very beginning of README:

Mirror of git://git.cryptomilk.org/projects/cmocka.git

so go to: https://cmocka.org/ or https://git.cryptomilk.org/projects/cmocka.git/

wdlkmpx commented 1 year ago

This mirror needs updating

diasbruno commented 7 months ago

This is a fork of cmocka. I'd recommend to go to the upstream repository for more information.