Ignore:
Timestamp:
03/21/24 10:13:06 (4 months ago)
Author:
jderouillat
Message:

Modify fortran-C interfaces to manage logical-bool conversion, the optimizations of OneAPI could produce bugs regarding the logical-bool encodings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS2/trunk/src/object_template_impl.hpp

    r1626 r2623  
    535535     oss << "USE, INTRINSIC :: ISO_C_BINDING" << iendl; 
    536536     oss << "USE i" << superClassName << iendl; 
    537      oss << "USE " << className << "_interface_attr" << iendl--; 
     537     oss << "USE " << className << "_interface_attr" << iendl; 
     538     oss << "USE LOGICAL_BOOL_CONVERSION" << iendl--; 
    538539//   oss << "TYPE txios(" << className << ")" << iendl; 
    539540//   oss << "  INTEGER(kind = C_INTPTR_T) :: daddr" << iendl; 
Note: See TracChangeset for help on using the changeset viewer.