Skip to content
Branch: master
Find file History
davegill Local CPP includes should use quotes, not angle brackets (#909)
TYPE: bug fix

KEYWORDS: include, cpp, quotes, angle brackets, ", >

SOURCE: Jamie Bresch (NCAR/MMM)

DESCRIPTION OF CHANGES: 
Problem:
When using CPP \#include, to access local include files, the correct syntax is to use quotes 
to surround the filename. Using angle brackets makes the search look in standard system
directories.

Solution:
Swap the single location of WRF-manufactured include file: `<filename.inc>` for `"filename.inc"`.

LIST OF MODIFIED FILES: 
modified:   frame/module_alloc_space.h

TESTS CONDUCTED: 
1. The code builds just fine.
2. The Jan 2000 test case looks as expected at 12-h.
Latest commit 64dabe7 Jun 1, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Makefile
clog.c
collect_on_comm.c
hires_timer.c
libmassv.F
loop_based_x_shift_code.h
loop_based_y_shift_code.h
md_calls.m4
module_alloc_space.h
module_alloc_space_0.F
module_alloc_space_1.F
module_alloc_space_2.F
module_alloc_space_3.F
module_alloc_space_4.F
module_alloc_space_5.F
module_alloc_space_6.F
module_alloc_space_7.F
module_alloc_space_8.F
module_alloc_space_9.F
module_bdywrite.F
module_clear_halos.F
module_comm_dm.F
module_comm_dm_0.F
module_comm_dm_1.F
module_comm_dm_2.F
module_comm_dm_3.F
module_comm_dm_4.F
module_comm_nesting_dm.F
module_configure.F
module_cpl.F
module_cpl_oasis3.F
module_dm_stubs.F
module_dm_warning
module_domain.F
module_domain_type.F
module_driver_constants.F
module_integrate.F
module_intermediate_nmm.F
module_internal_header_util.F
module_io.F
module_io_quilt.F
module_io_quilt_new.F
module_io_quilt_old.F
module_machine.F
module_nesting.F
module_quilt_outbuf_ops.F
module_sm.F
module_streams.F
module_tiles.F
module_timing.F
module_wrf_error.F
nl_access_routines.F
nl_get_0_routines.F
nl_get_1_routines.F
nl_get_2_routines.F
nl_get_3_routines.F
nl_get_4_routines.F
nl_get_5_routines.F
nl_get_6_routines.F
nl_get_7_routines.F
nl_set_0_routines.F
nl_set_1_routines.F
nl_set_2_routines.F
nl_set_3_routines.F
nl_set_4_routines.F
nl_set_5_routines.F
nl_set_6_routines.F
nl_set_7_routines.F
pack_utils.c
wrf_debug.F
wrf_num_bytes_between.c
wrf_shutdown.F
xxx_template_ioapi.F
You can’t perform that action at this time.