Changeset 1f86d5e for src


Ignore:
Timestamp:
Feb 10, 2019, 10:12:55 AM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
015dc50
Parents:
4fd45bc
Message:

remove unnecessary requirements in configure.ac, add check for -Wcast-function-type and _FloatNN, disable -Wcast-function-type for gcc-8

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/Makefile.am

    r4fd45bc r1f86d5e  
    1010## Author           : Peter A. Buhr
    1111## Created On       : Sun May 31 08:51:46 2015
    12 ## Last Modified By : Andrew Beach
    13 ## Last Modified On : Tus Jul 25 10:34:00 2017
    14 ## Update Count     : 76
     12## Last Modified By : Peter A. Buhr
     13## Last Modified On : Sat Feb  9 19:07:14 2019
     14## Update Count     : 81
    1515###############################################################################
    1616
     
    2424
    2525MAINTAINERCLEANFILES =
    26 MOSTLYCLEANFILES = Parser/gcc-flags.h
    27 
    28 Parser/gcc-flags.h :
    29         ${AM_V_GEN}$(CC) -dM -E - < /dev/null | sed 's/define /define __GCC__/' > $(@)
    30 
    31 Parser/lex.ll : Parser/gcc-flags.h
     26MOSTLYCLEANFILES =
    3227
    3328include CodeGen/module.mk
     
    5853demangler_SOURCES = SymTab/demangler.cc
    5954
    60 demangler_LDADD = libdemangle.a     # yywrap
     55demangler_LDADD = libdemangle.a                 # yywrap
    6156
    6257noinst_LIBRARIES = libdemangle.a
  • src/Makefile.in

    r4fd45bc r1f86d5e  
    416416DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    417417ACLOCAL = @ACLOCAL@
    418 ALLOCA = @ALLOCA@
    419418AMTAR = @AMTAR@
    420419AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
     
    618617        Virtual/ExpandCasts.cc
    619618MAINTAINERCLEANFILES = ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}}
    620 MOSTLYCLEANFILES = Parser/gcc-flags.h Parser/lex.cc Parser/parser.cc \
    621         Parser/parser.hh Parser/parser.output
     619MOSTLYCLEANFILES = Parser/lex.cc Parser/parser.cc Parser/parser.hh \
     620        Parser/parser.output
    622621BUILT_SOURCES = Parser/parser.hh
    623622AM_YFLAGS = -d -t -v
     
    631630ARFLAGS = cr
    632631demangler_SOURCES = SymTab/demangler.cc
    633 demangler_LDADD = libdemangle.a     # yywrap
     632demangler_LDADD = libdemangle.a                 # yywrap
    634633noinst_LIBRARIES = libdemangle.a
    635634libdemangle_a_SOURCES = SymTab/Demangle.cc SymTab/ManglerCommon.cc \
     
    15581557
    15591558
    1560 Parser/gcc-flags.h :
    1561         ${AM_V_GEN}$(CC) -dM -E - < /dev/null | sed 's/define /define __GCC__/' > $(@)
    1562 
    1563 Parser/lex.ll : Parser/gcc-flags.h
    1564 
    15651559# Tell versions [3.59,3.63) of GNU make to not export all variables.
    15661560# Otherwise a system limit (for SysV at least) may be exceeded.
  • src/config.h.in

    r4fd45bc r1f86d5e  
    5252#undef CFA_VERSION_SHORT
    5353
    54 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
    55    systems. This function is required for `alloca.c' support on those systems.
    56    */
    57 #undef CRAY_STACKSEG_END
    58 
    59 /* Define to 1 if using `alloca.c'. */
    60 #undef C_ALLOCA
    61 
    62 /* Define to 1 if you have `alloca', as a function or macro. */
    63 #undef HAVE_ALLOCA
    64 
    65 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
    66    */
    67 #undef HAVE_ALLOCA_H
     54/* Have compiler warning cast-function-type. */
     55#undef HAVE_CAST_FUNCTION_TYPE
    6856
    6957/* Define to 1 if you have the <dlfcn.h> header file. */
    7058#undef HAVE_DLFCN_H
    7159
    72 /* Define to 1 if you have the <fenv.h> header file. */
    73 #undef HAVE_FENV_H
    74 
    75 /* Define to 1 if you have the <float.h> header file. */
    76 #undef HAVE_FLOAT_H
    77 
    7860/* Define to 1 if you have the <inttypes.h> header file. */
    7961#undef HAVE_INTTYPES_H
    8062
     63/* Have keywords _FloatXX. */
     64#undef HAVE_KEYWORDS_FLOATXX
     65
    8166/* Define to 1 if you have the <libintl.h> header file. */
    8267#undef HAVE_LIBINTL_H
    83 
    84 /* Define to 1 if you have the <limits.h> header file. */
    85 #undef HAVE_LIMITS_H
    8668
    8769/* Define to 1 if you have the <malloc.h> header file. */
     
    9173#undef HAVE_MEMORY_H
    9274
    93 /* Define to 1 if you have the `memset' function. */
    94 #undef HAVE_MEMSET
    95 
    96 /* Define to 1 if you have the `putenv' function. */
    97 #undef HAVE_PUTENV
    98 
    99 /* Define to 1 if stdbool.h conforms to C99. */
    100 #undef HAVE_STDBOOL_H
    101 
    102 /* Define to 1 if you have the <stddef.h> header file. */
    103 #undef HAVE_STDDEF_H
    104 
    10575/* Define to 1 if you have the <stdint.h> header file. */
    10676#undef HAVE_STDINT_H
     
    10979#undef HAVE_STDLIB_H
    11080
    111 /* Define to 1 if you have the `strchr' function. */
    112 #undef HAVE_STRCHR
    113 
    11481/* Define to 1 if you have the <strings.h> header file. */
    11582#undef HAVE_STRINGS_H
     
    11784/* Define to 1 if you have the <string.h> header file. */
    11885#undef HAVE_STRING_H
    119 
    120 /* Define to 1 if you have the `strtol' function. */
    121 #undef HAVE_STRTOL
    12286
    12387/* Define to 1 if you have the <sys/stat.h> header file. */
     
    13094#undef HAVE_UNISTD_H
    13195
    132 /* Define to 1 if the system has the type `_Bool'. */
    133 #undef HAVE__BOOL
     96/* Define to 1 if the system has the type `_Float32'. */
     97#undef HAVE__FLOAT32
    13498
    13599/* Define to the sub-directory where libtool stores uninstalled libraries. */
     
    157121#undef PACKAGE_VERSION
    158122
    159 /* If using the C implementation of alloca, define if you know the
    160    direction of stack growth for your system; otherwise it will be
    161    automatically deduced at runtime.
    162         STACK_DIRECTION > 0 => grows toward higher addresses
    163         STACK_DIRECTION < 0 => grows toward lower addresses
    164         STACK_DIRECTION = 0 => direction of growth unknown */
    165 #undef STACK_DIRECTION
    166 
    167123/* Define to 1 if you have the ANSI C header files. */
    168124#undef STDC_HEADERS
     
    180136   `char[]'. */
    181137#undef YYTEXT_POINTER
    182 
    183 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
    184    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
    185    #define below would cause a syntax error. */
    186 #undef _UINT32_T
    187 
    188 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
    189    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
    190    #define below would cause a syntax error. */
    191 #undef _UINT8_T
    192 
    193 /* Define to `__inline__' or `__inline' if that's what the C compiler
    194    calls it, or to nothing if 'inline' is not supported under any name.  */
    195 #ifndef __cplusplus
    196 #undef inline
    197 #endif
    198 
    199 /* Define to the type of a signed integer type of width exactly 16 bits if
    200    such a type exists and the standard includes do not define it. */
    201 #undef int16_t
    202 
    203 /* Define to the type of a signed integer type of width exactly 32 bits if
    204    such a type exists and the standard includes do not define it. */
    205 #undef int32_t
    206 
    207 /* Define to the type of a signed integer type of width exactly 8 bits if such
    208    a type exists and the standard includes do not define it. */
    209 #undef int8_t
    210 
    211 /* Define to the equivalent of the C99 'restrict' keyword, or to
    212    nothing if this is not supported.  Do not define if restrict is
    213    supported directly.  */
    214 #undef restrict
    215 /* Work around a bug in Sun C++: it does not support _Restrict or
    216    __restrict__, even though the corresponding Sun C compiler ends up with
    217    "#define restrict _Restrict" or "#define restrict __restrict__" in the
    218    previous line.  Perhaps some future version of Sun C++ will work with
    219    restrict; if so, hopefully it defines __RESTRICT like Sun C does.  */
    220 #if defined __SUNPRO_CC && !defined __RESTRICT
    221 # define _Restrict
    222 # define __restrict__
    223 #endif
    224 
    225 /* Define to `unsigned int' if <sys/types.h> does not define. */
    226 #undef size_t
    227 
    228 /* Define to the type of an unsigned integer type of width exactly 16 bits if
    229    such a type exists and the standard includes do not define it. */
    230 #undef uint16_t
    231 
    232 /* Define to the type of an unsigned integer type of width exactly 32 bits if
    233    such a type exists and the standard includes do not define it. */
    234 #undef uint32_t
    235 
    236 /* Define to the type of an unsigned integer type of width exactly 8 bits if
    237    such a type exists and the standard includes do not define it. */
    238 #undef uint8_t
Note: See TracChangeset for help on using the changeset viewer.