FreeBSD/contrib/gcc/cp/decl.c
/* Issue an error message if DECL is an uninitialized const variable.  */
Issue an error message if DECL is an uninitialized const variable.
Issue an error message if DECL is an uninitialized const variable .
static void
check_for_uninitialized_const_var (tree decl)
{
  tree type = TREE_TYPE (decl);
  if (TREE_CODE (decl) == VAR_DECL
      && TREE_CODE (type) != REFERENCE_TYPE
      && CP_TYPE_CONST_P (type)
      && !TYPE_NEEDS_CONSTRUCTING (type)
      && !DECL_INITIAL (decl))
    error ("uninitialized const %qD", decl);
}
static void check_for_uninitialized_const_var ( tree decl ) { tree type = TREE_TYPE ( decl ) ; if ( TREE_CODE ( decl ) == VAR_DECL && TREE_CODE ( type ) != REFERENCE_TYPE && CP_TYPE_CONST_P ( type ) && ! TYPE_NEEDS_CONSTRUCTING ( type ) && ! DECL_INITIAL ( decl ) ) error ( " " , decl ) ; }
Issue an error message if DECL is an uninitialized const variable.
Issue an error message if DECL is an uninitialized const variable .
/* ``Unless explicitly declared extern, a const object does not have
     external linkage and must be initialized. ($8.4; $12.1)'' ARM
     7.1.6 */