libgphoto2-bleeding:wip-test

Last commit made on 2020-02-19
Get this branch:
git clone -b wip-test https://git.launchpad.net/libgphoto2-bleeding

Branch merges

Branch information

Name:
wip-test
Repository:
lp:libgphoto2-bleeding

Recent commits

d04082d... by Hans Ulrich Niedermann

Add two internal symbols to libgphoto2_port

This is supposed to fix OSX build issue introduced with
2afff46f5aef8d03d3be1395a1a4a01005bb6853.

247622d... by Hans Ulrich Niedermann

travis-ci: exclude OSX gcc from build matrix

On OSX, 'gcc' is an alias for 'clang', so on OSX, both the
so-called 'gcc' and the 'clang' builds actually use clang.

It would be some work to find out which gcc to maybe install
and then use on OSX, so we disable the 'gcc' builds for now.

If someone wants actual gcc builds on OSX, they can take a
look later at

https://docs.travis-ci.com/user/languages/c/#gcc-on-macos

and experiment with finding out which gcc versions are
actually available by default and available in brew and
use those (after possible first installing them).

e36a161... by Marcus Meissner <email address hidden>

log the ptp opcode + params just to be sure we passed in the right values

2afff46... by Marcus Meissner <email address hidden>

rewrite the port allocation code to not use freed resources,
although this kind of construct likely does not work

fixes crashes with AFL

d635d68... by Hans Ulrich Niedermann

travis-ci: Group all build matrix definitions

Define all build matrix definitions at the start of .travis.yml.

e4cb1c9... by Hans Ulrich Niedermann

travis-ci: Print --version for autoconf and automake

This can help while debugging build issues.

a79045d... by Hans Ulrich Niedermann

Use standard syntax for the AC_DEFUN()ed macros

2a00d2c... by Hans Ulrich Niedermann

Fix _GP_EOF m4_pattern bug introduced in 6f65d24796a

Fixes: 6f65d24796a0aaca0c20f4c074aa71e39f38e68d

749968c... by Hans Ulrich Niedermann

travis-ci: Print the exact CC and CXX used

This prints a number of CC and CXX version messages, so we can see
better which C and C++ compilers are actually in use.

6f65d24... by Hans Ulrich Niedermann

Make sure both C and C++ programs including gphoto2 headers compile

Check that programs including libgphoto2 headers compile
when compiled for a number of different language standards:

    C: ansi c99 c11
    C++: ansi c++98 c++11 c++14 c++17

For each of these language standards, if the compiler does not
compile an empty example program, we do not test whether compiling
with the gphoto2/*.h headers included works.

This will work with GCC as the compiler, and also should work with
CLANG as the compiler as CLANG is mostly compatible in these matters.

On other compilers, the test compile of the empty program should
fail, and thus no checks with the gphoto2/*.h headers included will
be performed.

C90/ANSI C apparently does not define __STDC_VERSION__, so the
C source code needed to be changed to become ANSI C compatible.

In C++ pedantic compilation source, we now use actual C++ code
instead of relying on C code working when compiled as C++ code.

In Travis CI, we now actually require both C and C++.