This file is indexed.

/usr/include/smbios/config/compiler/gcc.hpp is in libsmbios-dev 2.3.0-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
//  (C) Copyright John Maddock 2001 - 2003. 
//  (C) Copyright Darin Adler 2001 - 2002. 
//  (C) Copyright Jens Maurer 2001 - 2002. 
//  (C) Copyright Beman Dawes 2001 - 2003. 
//  (C) Copyright Douglas Gregor 2002. 
//  (C) Copyright David Abrahams 2002 - 2003. 
//  (C) Copyright Synge Todo 2003. 
//  Use, modification and distribution are subject to the 
//  Boost Software License, Version 1.0. (See accompanying file 
//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

//  See http://www.boost.org for most recent version.

//  GNU C++ compiler setup:

#   if __GNUC__ == 2 && __GNUC_MINOR__ == 91
       // egcs 1.1 won't parse shared_ptr.hpp without this:
#      define LIBSMBIOS_NO_AUTO_PTR
#   endif
#   if __GNUC__ == 2 && __GNUC_MINOR__ < 95
      //
      // Prior to gcc 2.95 member templates only partly
      // work - define LIBSMBIOS_MSVC6_MEMBER_TEMPLATES
      // instead since inline member templates mostly work.
      //
#     define LIBSMBIOS_NO_MEMBER_TEMPLATES
#     if __GNUC_MINOR__ >= 9
#       define LIBSMBIOS_MSVC6_MEMBER_TEMPLATES
#     endif
#   endif

#   if __GNUC__ == 2 && __GNUC_MINOR__ < 96
#     define LIBSMBIOS_NO_SFINAE
#   endif

#   if __GNUC__ == 2 && __GNUC_MINOR__ <= 97
#     define LIBSMBIOS_NO_MEMBER_TEMPLATE_FRIENDS
#     define LIBSMBIOS_NO_OPERATORS_IN_NAMESPACE
#   endif

#   if __GNUC__ < 3
#      define LIBSMBIOS_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
#      define LIBSMBIOS_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
#   endif

#ifndef __EXCEPTIONS
# define LIBSMBIOS_NO_EXCEPTIONS
#endif

// GCC has __PRETTY_FUNCTION__ macro
#define LIBSMBIOS_HAS_PRETTY_FUNCTION
#define LIBSMBIOS_HAS_FUNCTION
#define LIBSMBIOS_PACKED_ATTR      __attribute__ ((packed))

#ifndef UNREFERENCED_PARAMETER
#define UNREFERENCED_PARAMETER(P)  ((void)(P))
#endif

#   if __GNUC__ > 4
// internal compiler error in RHEL4 gcc when this is used.
#define MARK_UNUSED  __attribute__ ((unused))
#else
#define MARK_UNUSED
#endif

#define _dbg_iostream_out(stream, line) do { stream << line; } while(0)
#define _dbg_cout(line) _dbg_iostream_out(cout, line)
#define _dbg_cerr(line) _dbg_iostream_out(cerr, line)
#define _null_call( args...) do {} while(0)
#ifdef DEBUG_OUTPUT_ALL
#include <iostream>
#define DCOUT _dbg_cout
#define DCERR _dbg_cerr
#else
#define DCOUT _null_call
#define DCERR _null_call
#endif

//
// Bug specific to gcc 3.1 and 3.2:
//
#if (__GNUC__ == 3) && ((__GNUC_MINOR__ == 1) || (__GNUC_MINOR__ == 2))
#  define LIBSMBIOS_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
#endif

//
// Threading support: Turn this on unconditionally here (except for
// those platforms where we can know for sure). It will get turned off again
// later if no threading API is detected.
//
#if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__)
# define LIBSMBIOS_HAS_THREADS
#endif 

//
// gcc has "long long"
//
#define LIBSMBIOS_HAS_LONG_LONG

//
// gcc implements the named return value optimization since version 3.1
//
#if __GNUC__ > 3 || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 1 )
#define LIBSMBIOS_HAS_NRVO
#endif

#define LIBSMBIOS_COMPILER "GNU C++ version " __VERSION__

//
// versions check:
// we don't know gcc prior to version 2.90:
#if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90)
#  error "Compiler too old. GCC > 3.0 required"
#endif
//
#if (__GNUC__ > 5)
#  if defined(LIBSMBIOS_ASSERT_CONFIG)
#     error "Unknown compiler version - please run the configure tests and report the results"
#  else
#     warning "Unknown compiler version - please run the configure tests and report the results"
#  endif
#endif