Project
Loading...
Searching...
No Matches
bvh2_third_party.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12// Sandro Wenzel 2026
13
14#ifndef ROOT_GEOM_BVH2_THIRD_PARTY
15
16// A single entry header into third-party BVH2 installed in ROOT
17// Good place to manage compiler warnings etc.
18
19#if defined(__clang__)
20#pragma clang diagnostic push
21#pragma clang diagnostic ignored "-Wshadow"
22#pragma clang diagnostic ignored "-Wpsabi"
23#elif defined(__GNUC__)
24#pragma GCC diagnostic push
25#pragma GCC diagnostic ignored "-Wshadow"
26#pragma GCC diagnostic ignored "-Wpsabi"
27#pragma GCC diagnostic ignored "-Wall"
28#pragma GCC diagnostic ignored "-Wshadow"
29#pragma GCC diagnostic ignored "-Wunknown-pragmas"
30#pragma GCC diagnostic ignored "-Wattributes"
31#elif defined(_MSC_VER)
32#pragma warning(push)
33#pragma warning(disable : 5051)
34#endif
35
36#include <bvh/v2/bvh.h>
37#include <bvh/v2/vec.h>
38#include <bvh/v2/ray.h>
39#include <bvh/v2/node.h>
40#include <bvh/v2/stack.h>
41#include <bvh/v2/default_builder.h>
42
43#if defined(__clang__)
44#pragma clang diagnostic pop
45#elif defined(__GNUC__)
46#pragma GCC diagnostic pop
47#endif
48
49#endif