Changeset ed0e67a


Ignore:
Timestamp:
Jul 6, 2016, 1:06:50 PM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
fcf041c
Parents:
a6151ba
Message:

add stdhdr directory to includes, containing extern "C" include wrappers for standard C include files

Location:
src
Files:
29 added
4 edited
2 moved

Legend:

Unmodified
Added
Removed
  • src/driver/cfa.cc

    ra6151ba red0e67a  
    1010// Created On       : Tue Aug 20 13:44:49 2002
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jul  4 11:33:15 2016
    13 // Update Count     : 139
     12// Last Modified On : Tue Jul  5 20:56:18 2016
     13// Update Count     : 140
    1414//
    1515
     
    246246        args[nargs] = "-I" CFA_INCDIR;
    247247        nargs += 1;
    248         args[nargs] = "-I" CFA_INCDIR "/containers";
    249         nargs += 1;
    250 
     248        args[nargs] = "-I" CFA_INCDIR "/stdhdr";
     249        nargs += 1;
    251250        args[nargs] = "-I" CFA_INCDIR "/containers";
    252251        nargs += 1;
  • src/libcfa/Makefile.am

    ra6151ba red0e67a  
    1111## Created On       : Sun May 31 08:54:01 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Tue Jul  5 17:10:26 2016
    14 ## Update Count     : 182
     13## Last Modified On : Tue Jul  5 20:52:31 2016
     14## Update Count     : 185
    1515###############################################################################
    1616
     
    6767libcfa_a_SOURCES = libcfa-prelude.c ${headers:=.c}
    6868
    69 nobase_include_HEADERS = ${headers} stdio.h
     69stdhdr = ${shell echo stdhdr/*}
     70
     71nobase_include_HEADERS = ${headers} ${stdhdr}
    7072
    7173CLEANFILES = libcfa-prelude.c
  • src/libcfa/Makefile.in

    ra6151ba red0e67a  
    236236libobjs = ${headers:=.o}
    237237libcfa_a_SOURCES = libcfa-prelude.c ${headers:=.c}
    238 nobase_include_HEADERS = ${headers} stdio.h
     238stdhdr = ${shell echo stdhdr/*}
     239nobase_include_HEADERS = ${headers} ${stdhdr}
    239240CLEANFILES = libcfa-prelude.c
    240241all: all-am
  • src/tests/random.c

    ra6151ba red0e67a  
    1 extern "C" {
    2 #include <unistd.h>                                                                             // getpid
    3 } // extern "C"
     1//
     2// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
     3//
     4// The contents of this file are covered under the licence agreement in the
     5// file "LICENCE" distributed with Cforall.
     6//
     7// random.c --
     8//
     9// Author           : Peter A. Buhr
     10// Created On       : Tue Jul  5 21:29:30 2016
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Tue Jul  5 21:29:54 2016
     13// Update Count     : 1
     14//
    415
    516#include <fstream>
    617#include <stdlib>                                                                               // random
     18#include <unistd.h>                                                                             // getpid
    719
    820int main() {
  • src/tests/vector/vector_int.c

    ra6151ba red0e67a  
    99// Author           : Richard C. Bilson
    1010// Created On       : Wed May 27 17:56:53 2015
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Apr 27 17:27:12 2016
    13 // Update Count     : 3
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Tue Jul  5 21:00:56 2016
     13// Update Count     : 4
    1414//
    1515
    1616#include "vector_int.h"
    17 extern "C" {
    1817#include <stdlib.h>
    1918#include <assert.h>
    20 }
    2119
    2220#define DEFAULT_CAPACITY 20
Note: See TracChangeset for help on using the changeset viewer.