#160 closed Bug (fixed)
nemo trunk : CPP syntax error (ifort compiler) in various modules
Reported by: | molines@… | Owned by: | nemo |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | OCE | Version: | v2 |
Severity: | Keywords: | CPP | |
Cc: |
Description
in the following module, the quoted lines give an error when compiling with ifort
(#error: #if: parse error )
bdydta.F90:#if defined key_bdy || key_bdy_tides bdy_oce.F90:#if defined key_bdy || key_bdy_tides bdy_par.F90:#if defined key_bdy || key_bdy_tides divcur.F90:#if defined key_bdy || key_bdy_tides divcur.F90:#if defined key_bdy || key_bdy_tides domvvl.F90:#if defined key_obc && ( key_dynspg_exp || key_dynspg_ts ) domvvl.F90:#if defined key_bdy || key_bdy_tides
In order to fix it the syntax must be
bdydta.F90:#if defined key_bdy || defined key_bdy_tides bdy_oce.F90:#if defined key_bdy || defined key_bdy_tides bdy_par.F90:#if defined key_bdy || defined key_bdy_tides divcur.F90:#if defined key_bdy || defined key_bdy_tides divcur.F90:#if defined key_bdy || defined key_bdy_tides domvvl.F90:#if defined key_obc && ( defined key_dynspg_exp || defined key_dynspg_ts ) domvvl.F90:#if defined key_bdy || defined key_bdy_tides
Commit History (3)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
6880 | stephenhaddad | 2016-08-23T16:58:04+02:00 | crum #160fixing compatibility between xios-1.0 and NEMO v3.6 STABLE branch. |
6877 | stephenhaddad | 2016-08-23T15:31:34+02:00 | crum #160: Update to ensure that NEMO treats xios1.0 and xios2.0 the same when sending the bounds. |
1058 | rblod | 2008-06-04T21:14:34+02:00 | Correct preprocessing syntax, see ticket #160 |
Change History (3)
comment:1 Changed 16 years ago by nemo_user
comment:2 Changed 16 years ago by rblod
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 8 years ago by nicolasmartin
- Keywords CPP added; preprocessing removed
Note: See
TracTickets for help on using
tickets.
There is also a syntax error in dynspg.F90, near the end :
#if key_obc
should be
#if defined key_obc