Merge branch 'solaris-fixes' into 'master'

Silence some warnings and errors

See merge request !746
26 jobs for master in 7 minutes and 57 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Precheck
passed #52652
linux docker amd64
precheck:debian:sid:amd64

00:00:15

 
  Build
passed #52653
linux docker amd64
build:centos:centos6:amd64

00:02:36

passed #52654
linux docker amd64
build:centos:centos7:amd64

00:02:45

passed #52655
linux docker amd64
build:clang:debian:stretch:amd64

00:02:25

passed #52659
linux docker i386
build:clang:debian:stretch:i386

00:02:21

passed #52656
linux docker amd64
build:debian:jessie:amd64

00:01:48

passed #52658
linux docker amd64
build:debian:sid:amd64

00:01:52

passed #52660
linux docker i386
build:debian:sid:i386

00:01:58

passed #52657
linux docker amd64
build:debian:stretch:amd64

00:02:10

passed #52661
linux docker amd64
pkcs11:build:debian:sid:amd64

00:01:41

 
  Test
passed #52675
linux docker amd64
install:debian:sid:amd64

00:01:32

passed #52677
linux docker amd64
pkcs11:systemtest:debian:sid:amd64

00:04:46

passed #52676
linux docker amd64
pkcs11:unittest:debian:sid:amd64

00:00:52

passed #52669
linux docker amd64
systemtest:centos:centos6:amd64

00:04:45

passed #52670
linux docker amd64
systemtest:centos:centos7:amd64

00:04:47

passed #52671
linux docker amd64
systemtest:debian:jessie:amd64

00:04:45

passed #52673
linux docker amd64
systemtest:debian:sid:amd64

00:04:44

passed #52674
linux docker i386
systemtest:debian:sid:i386

00:04:53

passed #52672
linux docker amd64
systemtest:debian:stretch:amd64

00:04:36

passed #52662
linux docker amd64
unittest:centos:centos6:amd64

00:00:56

passed #52663
linux docker amd64
unittest:centos:centos7:amd64

00:00:58

passed #52667
linux docker amd64
unittest:clang:debian:stretch:amd64

00:00:50

passed #52664
linux docker amd64
unittest:debian:jessie:amd64

00:00:57

passed #52666
linux docker amd64
unittest:debian:sid:amd64

00:00:48

passed #52668
linux docker i386
unittest:debian:sid:i386

00:00:52

passed #52665
linux docker amd64
unittest:debian:stretch:amd64

00:00:48