Skip to content

fix gcc compiler errors when building on linux - #104

Merged
analytophile merged 2 commits into
CSHS-CWRA:mainfrom
robmtud:robmtud/linux_fix_gcc_errors
Jul 13, 2026
Merged

analytophile merged 2 commits into
CSHS-CWRA:mainfrom
robmtud:robmtud/linux_fix_gcc_errors

Conversation

@robmtud

@robmtud robmtud commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Currently under linux compilation will fail when using gcc. The following changes were made to address the gcc compiler errors:

  • move function definition from header to source file for 'bmi_model_create' and 'bmi_model_destroy'
  • use correct enum type for unrecognized forcing types
  • rename 'sv_type' attribute on 'rvn_var_data' struct to 'state_var_type' to not conflict with enum name

robmtud and others added 2 commits July 7, 2026 18:22
- move function definition from header to source file for
  'bmi_model_create' and 'bmi_model_destroy'
- use correct enum type for unrecognized forcing types
- rename 'sv_type' attribute on 'rvn_var_data' struct to
  'state_var_type' to not conflict with enum name
@Zeitsperre
Zeitsperre requested a review from analytophile July 7, 2026 17:23
@analytophile
analytophile merged commit cbe6336 into CSHS-CWRA:main Jul 13, 2026
15 checks passed
@robmtud
robmtud deleted the robmtud/linux_fix_gcc_errors branch July 14, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants