Commits

Harald Klimach  committed d1a735f Merge

merged in, new waf version

  • Participants
  • Parent commits af3a4bf, 2777bc3

Comments (0)

Files changed (2)

File source/aotus_module.f90

   public :: get_config_val, open_config, close_config
   public :: get_top_val, get_table_val
 
+  !> Some parameters for the error handling.
+  !! They indicate the bits to set in case of
+  !! the corresponding error, to allow appropiate
+  !! reactions of the calling application.
   integer, parameter :: aoterr_Fatal = 0
   integer, parameter :: aoterr_NonExistent = 1
   integer, parameter :: aoterr_WrongType = 2
   !> Get a global configuration value from the script.
   !! This provides a convenient direct access to
   !! global variables from the Lua script.
+  !! \todo unify the arguments and naming with the rest
+  !!       of the library, rename the config_val to key,
+  !!       to make the interface more consistent.
   interface get_config_val
     module procedure get_config_real
     module procedure get_config_double
   !! Positional addressing is only valid, as long,
   !! as no value was provided by an explicit key
   !! in the list before the entry in question.
+  !! \todo add convenience functions which return
+  !!       complete vectors at once.
   interface get_table_val
     module procedure get_table_real
     module procedure get_table_double
     conf.check_cc(function_name='popen', header_name=['stdio.h'], define_name='LUA_USE_POPEN', mandatory=False)
 
     # Flags for the default (production) variant
-    conf.env['FCFLAGS'] = fcopts[conf.env.FC_NAME, 'warn'] + fcopts[conf.env.FC_NAME, 'optimize']
+    conf.env['FCFLAGS'] = fcopts[conf.env.FC_NAME, 'optimize'] + fcopts[conf.env.FC_NAME, 'warn']
     conf.env['LINKFLAGS'] = conf.env['FCFLAGS']
 
     # Set flags for the debugging variant