Changeset 35f9114


Ignore:
Timestamp:
Aug 7, 2016, 9:44:34 AM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
7bf7fb9
Parents:
d9e2280
Message:

change compilation flag-name from -no-include-std to -no-include-stdhdr

Location:
src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/driver/cfa.cc

    rd9e2280 r35f9114  
    1010// Created On       : Tue Aug 20 13:44:49 2002
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Aug  2 12:23:11 2016
    13 // Update Count     : 147
     12// Last Modified On : Sat Aug  6 16:14:55 2016
     13// Update Count     : 148
    1414//
    1515
     
    8787        bool cpp_flag = false;                                                          // -E or -M flag, preprocessor only
    8888        bool std_flag = false;                                                          // -std= flag
    89         bool noincstd_flag = false;                                                     // -no-include-std= flag
     89        bool noincstd_flag = false;                                                     // -no-include-stdhdr= flag
    9090        bool debugging __attribute(( unused )) = false;         // -g flag
    9191
     
    145145                        } else if ( arg == "-nohelp" ) {
    146146                                help = false;                                                   // strip the nohelp flag
    147                         } else if ( arg == "-no-include-std" ) {
    148                                 noincstd_flag = true;                                   // strip the no-include-std flag
     147                        } else if ( arg == "-no-include-stdhdr" ) {
     148                                noincstd_flag = true;                                   // strip the no-include-stdhdr flag
    149149                        } else if ( arg == "-compiler" ) {
    150150                                // use the user specified compiler
  • src/libcfa/Makefile.am

    rd9e2280 r35f9114  
    1111## Created On       : Sun May 31 08:54:01 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Tue Aug  2 12:17:23 2016
    14 ## Update Count     : 196
     13## Last Modified On : Sat Aug  6 16:15:15 2016
     14## Update Count     : 197
    1515###############################################################################
    1616
     
    5353         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -c -o $@ $<
    5454
    55 CFLAGS = -quiet -no-include-std -g -Wall -Wno-unused-function @CFA_FLAGS@ -B${abs_top_srcdir}/src/driver -XCFA -t # TEMPORARY: does not build with -O2
     55CFLAGS = -quiet -no-include-stdhdr -g -Wall -Wno-unused-function @CFA_FLAGS@ -B${abs_top_srcdir}/src/driver -XCFA -t # TEMPORARY: does not build with -O2
    5656CC = ${abs_top_srcdir}/src/driver/cfa
    5757
  • src/libcfa/Makefile.in

    rd9e2280 r35f9114  
    136136CFA_LIBDIR = @CFA_LIBDIR@
    137137CFA_PREFIX = @CFA_PREFIX@
    138 CFLAGS = -quiet -no-include-std -g -Wall -Wno-unused-function @CFA_FLAGS@ -B${abs_top_srcdir}/src/driver -XCFA -t # TEMPORARY: does not build with -O2
     138CFLAGS = -quiet -no-include-stdhdr -g -Wall -Wno-unused-function @CFA_FLAGS@ -B${abs_top_srcdir}/src/driver -XCFA -t # TEMPORARY: does not build with -O2
    139139CPP = @CPP@
    140140CPPFLAGS = @CPPFLAGS@
  • src/main.cc

    rd9e2280 r35f9114  
    1010// Created On       : Fri May 15 23:12:02 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jul  5 15:23:11 2016
    13 // Update Count     : 209
     12// Last Modified On : Sat Aug  6 16:17:41 2016
     13// Update Count     : 210
    1414//
    1515
     
    193193                        input = fopen( argv[ optind ], "r" );
    194194                        if ( ! input ) {
    195                                 std::cout << "Error: can't open " << argv[ optind ] << std::endl;
     195                                std::cout << "Error: cannot open " << argv[ optind ] << std::endl;
    196196                                exit( EXIT_FAILURE );
    197197                        } // if
     
    219219                        FILE * builtins = fopen( libcfap | treep ? "builtins.cf" : CFA_LIBDIR "/builtins.cf", "r" );
    220220                        if ( builtins == NULL ) {
    221                                 std::cerr << "Error: can't open builtins.cf" << std::endl;
     221                                std::cerr << "Error: cannot open builtins.cf" << std::endl;
    222222                                exit( EXIT_FAILURE );
    223223                        } // if
     
    227227                        FILE * extras = fopen( libcfap | treep ? "extras.cf" : CFA_LIBDIR "/extras.cf", "r" );
    228228                        if ( extras == NULL ) {
    229                                 std::cerr << "Error: can't open extras.cf" << std::endl;
     229                                std::cerr << "Error: cannot open extras.cf" << std::endl;
    230230                                exit( EXIT_FAILURE );
    231231                        } // if
     
    236236                                FILE * prelude = fopen( treep ? "prelude.cf" : CFA_LIBDIR "/prelude.cf", "r" );
    237237                                if ( prelude == NULL ) {
    238                                         std::cerr << "Error: can't open prelude.cf" << std::endl;
     238                                        std::cerr << "Error: cannot open prelude.cf" << std::endl;
    239239                                        exit( EXIT_FAILURE );
    240240                                } // if
Note: See TracChangeset for help on using the changeset viewer.