Debian Codegraph @

src/Imath/halfLimits.h

raw
1 //
2 // SPDX-License-Identifier: BSD-3-Clause
3 // Copyright Contributors to the OpenEXR Project.
4 //
5
6 #ifndef INCLUDED_HALF_LIMITS_H
7 #define INCLUDED_HALF_LIMITS_H
8
9 // Warn if half.h hasn't being included
10 #ifndef IMATH_HALF_H_
11 //
12 // This file is now deprecated. It previously included the
13 // specialization of std::numeric_limits<half>, but those now appear
14 // directly in half.h, because they should be regarded as inseperable
15 // from the half class.
16 //
17
18 #ifdef __GNUC__
19 #warning "ImathLimits is deprecated; use #include <half.h>"
20 #else
21 #pragma message("ImathLimits is deprecated; use #include <half.h>")
22 #endif
23
24 #include "half.h"
25 #endif
26 #endif