Ignore:
Timestamp:
06/13/19 16:45:41 (5 years ago)
Author:
adurocher
Message:

trunk : Fixed GCC warnings

Fixed iso c bindings
fixed warnings with -Wall -Wno-aliasing -Wno-unused -Wno-unused-dummy-argument -Wno-maybe-uninitialized -Wno-tabs warnings
Removed all unused variables (-Wunused-variable)
vector%dot_product is now dot_product_3d to avoid compilation warning "dot_product shadows intrinsic" with GCC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/sphere/vector.f90

    r811 r899  
    1313  END FUNCTION Norm 
    1414   
    15   FUNCTION dot_product(V1,V2) 
     15  FUNCTION dot_product_3d(V1,V2) result(dot_product) 
    1616  IMPLICIT NONE 
    1717    REAL(rstd)       :: dot_product 
     
    2121    dot_product=V1(1)*V2(1)+V1(2)*V2(2)+V1(3)*V2(3) 
    2222     
    23    END FUNCTION dot_product 
     23   END FUNCTION dot_product_3d 
    2424    
    2525   FUNCTION cross_product(Va,Vb) 
Note: See TracChangeset for help on using the changeset viewer.