Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/local/include/xapian/ |
Upload File : |
/** @file * @brief Compiler attribute macros */ // Copyright (C) 2012,2013,2014,2015 Olly Betts // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifndef XAPIAN_INCLUDED_ATTRIBUTES_H #define XAPIAN_INCLUDED_ATTRIBUTES_H #if __cplusplus >= 201103L || (defined _MSC_VER && _MSC_VER >= 1900) // C++11 has noexcept for marking a function which shouldn't throw. // // You need a C++11 compiler to build Xapian, but we still support using a // non-C++11 compiler to build code which uses Xapian (one reason is that // currently you need an option to enable C++11 support for most // compilers). Once we require C++11 for using Xapian, XAPIAN_NOTHROW can go // away. // // We can't simply just add noexcept via XAPIAN_NOTHROW as noexcept has // to be added to all declarations, whereas the GCC attribute can't be used on // a function definition. So for now, XAPIAN_NOTHROW() goes around // declarations, and XAPIAN_NOEXCEPT needs to be explicitly added to // definitions. # define XAPIAN_NOEXCEPT noexcept #else # define XAPIAN_NOEXCEPT #endif #ifdef __GNUC__ // __attribute__((__const__)) is available at least as far back as GCC 2.95. # define XAPIAN_CONST_FUNCTION __attribute__((__const__)) // __attribute__((__pure__)) is available from GCC 2.96 onwards. # define XAPIAN_PURE_FUNCTION __attribute__((__pure__)) // __attribute__((__nothrow__)) is available from GCC 3.3 onwards. # if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) # define XAPIAN_NOTHROW(D) D XAPIAN_NOEXCEPT __attribute__((__nothrow__)) # endif #else /** A function which does not examine any values except its arguments and has * no effects except its return value. * * This means the compiler can perform CSE (common subexpression elimination) * on calls to such a function with the same arguments, and also completely * eliminate calls to this function when the return value isn't used. */ # define XAPIAN_CONST_FUNCTION /** Like XAPIAN_CONST_FUNCTION, but such a function can also examine global * memory, perhaps via pointer or reference parameters. */ # define XAPIAN_PURE_FUNCTION #endif #ifndef XAPIAN_NOTHROW /** A function or method which will never throw an exception. */ # define XAPIAN_NOTHROW(D) D XAPIAN_NOEXCEPT #endif #endif // XAPIAN_INCLUDED_ATTRIBUTES_H