public  function check_flags_supported(self, compile_flags, link_flags)  
    
    Check if the given compile and/or link flags are accepted by the compiler
    Type Bound
    compiler_t
    Arguments
        
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | class(compiler_t), | intent(in) |  |  | :: | self |  | 
        
            | character(len=*), | intent(in), | optional |  | :: | compile_flags |  | 
        
            | character(len=*), | intent(in), | optional |  | :: | link_flags |  | 
    
  
      Return Value
        
          
          logical
        
      
      
    
        
      Variables
      
    
      
        | Type | Visibility | Attributes |  | Name |  | Initial |  | 
    
        
            | character(len=*), | public, | parameter | :: | hello_world | = | "print *, 'Hello, World!'; end" |  | 
    
  
    
    
    
    
    
    
    
    
    Source Code
    logical function check_flags_supported(self, compile_flags, link_flags)
    class(compiler_t), intent(in) :: self
    character(len=*), optional, intent(in) :: compile_flags, link_flags
    ! Minimal program that always compiles
    character(len=*), parameter :: hello_world = "print *, 'Hello, World!'; end"
    check_flags_supported = self%check_fortran_source_runs(hello_world, compile_flags, link_flags)
end function check_flags_supported