ALPSCore reference
flagcheck.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1998-2018 ALPS Collaboration. See COPYRIGHT.TXT
3  * All rights reserved. Use is subject to license terms. See LICENSE.TXT
4  * For use in publications, see ACKNOWLEDGE.TXT
5  */
7 #pragma once
8 #ifndef ALPS_GF_DEBUG
9 #ifndef BOOST_DISABLE_ASSERTS
10 #warning "BOOST_DISABLE_ASSERTS is not defined in GF. This leads to very slow code. Define ALPS_GF_DEBUG to avoid this warning."
11 #endif //BOOST_DISABLE_ASSERTS
12 
13 #ifndef NDEBUG
14 #warning "NDEBUG is not defined in GF. This leads to very slow code. Define ALPS_GF_DEBUG to suppress this warning"
15 #endif //NDEBUG
16 
17 #endif //ALPS_GF_DEBUG