debian/libsdl2-dev.install
author Ryan C. Gordon
Mon, 05 Jan 2015 01:41:42 -0500
changeset 9306 817656bd36ec
parent 6886 55fc95e5817b
child 10041 f6c9f42a54d6
permissions -rw-r--r--
Clang static analysis builds should use C runtime directly.

This is a little macro magic to use malloc() directly instead of SDL_malloc(),
etc, so static analysis tests that know about the C runtime can function
properly, and understand that we are dealing with heap allocations, etc.

This changed our static analysis report from 5 outstanding bugs to 30.

5x as many bugs were hidden by SDL_malloc() not being recognized as malloc()
by the static analyzer!
slouken@6886
     1
usr/bin/sdl2-config
slouken@6886
     2
usr/include/SDL2
slouken@6886
     3
usr/lib/*/libSDL2*.so
slouken@6886
     4
usr/lib/*/libSDL2.a
slouken@6886
     5
usr/lib/*/libSDL2main.a
slouken@6886
     6
usr/lib/*/libSDL2_test.a
slouken@6886
     7
usr/lib/*/pkgconfig/sdl2.pc
slouken@6886
     8
usr/share/aclocal/sdl2.m4