Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local CPP includes should use quotes, not angle brackets #909

Merged
merged 1 commit into from
May 31, 2019

Conversation

davegill
Copy link
Contributor

@davegill davegill commented May 15, 2019

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.

<allocs.inc> -> "allocs.inc"
@davegill davegill requested a review from a team as a code owner May 15, 2019 18:26
@davegill
Copy link
Contributor Author

@jamiebresch
Jamie,
Thanks for pointing this out.

@davegill davegill merged commit 64dabe7 into wrf-model:release-v4.1.1 May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants