Opened 4 years ago

#163 new defect

Convention for logical to bool can be different folowing compiler

Reported by: ymipsl Owned by: ymipsl
Priority: minor Component: XIOS
Version: coupling Keywords:
Cc:

Description

fortran : true == -1
C/C++ : true == 1

so, comparaison (bool_value==true) can be false if bool value is coming from fortran interface.
Interface for logical-> bool must be review

Change History (0)

Note: See TracTickets for help on using tickets.