]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/quickbook/build/warning-check
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / tools / quickbook / build / warning-check
CommitLineData
b32b8144
FG
1#!/usr/bin/env bash
2
3cd $(dirname $0)/../src
4
5tmpfile=$(tempfile)
6
7CXX=${CXX:-g++}
8BOOST_ROOT=${BOOST_ROOT:-../../..}
9
10failure=0
11
12for filename in *.cpp
13do
14 set -x
11fdf7f2 15 if ! $CXX -c -O0 --std=c++11 -isystem $BOOST_ROOT $filename -o $tmpfile \
b32b8144
FG
16 -pedantic -Wstrict-aliasing -fstrict-aliasing \
17 -Werror -Wall -Wextra \
18 -Wunused-parameter -Wshadow \
19 -Wfloat-equal \
20 -Wsign-promo -Wconversion -Wno-sign-conversion
21 then
22 failure=1
23 fi
24
25 set +x
26done
27
28rm $tmpfile
29exit $failure