1------------------------------------------------------------------------------ 2-- -- 3-- GNAT COMPILER COMPONENTS -- 4-- -- 5-- I N D E P S W -- 6-- -- 7-- B o d y -- 8-- -- 9-- Copyright (C) 2009-2020, Free Software Foundation, Inc. -- 10-- -- 11-- GNAT is free software; you can redistribute it and/or modify it under -- 12-- terms of the GNU General Public License as published by the Free Soft- -- 13-- ware Foundation; either version 3, or (at your option) any later ver- -- 14-- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- 15-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- 16-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- 17-- for more details. You should have received a copy of the GNU General -- 18-- Public License distributed with GNAT; see file COPYING3. If not, go to -- 19-- http://www.gnu.org/licenses for a complete copy of the license. -- 20-- -- 21-- GNAT was originally developed by the GNAT team at New York University. -- 22-- Extensive contributions were provided by Ada Core Technologies Inc. -- 23-- -- 24------------------------------------------------------------------------------ 25 26-- This is the default version: no switches are supported 27 28with Output; use Output; 29 30package body Indepsw is 31 32 ------------- 33 -- Convert -- 34 ------------- 35 36 procedure Convert 37 (Switch : Switch_Kind; 38 Argument : String; 39 To : out String_List_Access) 40 is 41 pragma Unreferenced (Argument); 42 begin 43 case Switch is 44 when others => 45 Write_Str ("warning: "); 46 Write_Line (No_Support_For (Switch).all); 47 To := null; 48 end case; 49 end Convert; 50 51 ------------------ 52 -- Is_Supported -- 53 ------------------ 54 55 function Is_Supported (Switch : Switch_Kind) return Boolean is 56 pragma Unreferenced (Switch); 57 begin 58 return False; 59 end Is_Supported; 60 61end Indepsw; 62