Skip to content

Instantly share code, notes, and snippets.

@denisdemaisbr
Created June 12, 2024 07:19
Show Gist options
  • Save denisdemaisbr/f8720ab805d79604883997e1d7c021fb to your computer and use it in GitHub Desktop.
Save denisdemaisbr/f8720ab805d79604883997e1d7c021fb to your computer and use it in GitHub Desktop.
c unit test novaprova
#!/bins/sh
# https://novaprova.org/
# http://novaprova.readthedocs.org/en/latest/getting-started.html
# install valgrind, gcc, make, cmake, ...
$ sudo apt-get install binutils-dev doxygen
$ git clone --depth=1 https://github.com/novaprova/novaprova
$ cd novaprova/
$ autoreconf -i
Makefile: fix cflag
from
CFLAGS= $(CDEBUGFLAGS) $(COPTFLAGS) $(CWARNFLAGS) $(CDEFINES)
to
CFLAGS= $(CDEBUGFLAGS) $(COPTFLAGS) $(CWARNFLAGS) $(CDEFINES) -Wno-error=class-memaccess
$ make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment