From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,2afae4a128914036 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.stueberl.de!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: wide_string and assertions Date: Thu, 10 Jun 2004 12:25:10 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <47SdnXI-D-3icyLdRVn-uQ@megapath.net> <1224046.crrTJmpIeA@linux1.krischik.com> <1towc.94710$dP1.304947@newsc.telia.net> NNTP-Posting-Host: l1-hrz.uni-duisburg.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: a1-hrz.uni-duisburg.de 1086870310 2013 134.91.1.34 (10 Jun 2004 12:25:10 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 10 Jun 2004 12:25:10 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:1364 Date: 2004-06-10T12:25:10+00:00 List-Id: Bj�rn Persson wrote: :> :> Maybe configuring a separately compiled unit before translation? : : Sorry, I don't follow. What translation? Compilation, I meant. When I have an OS/compiler specific subprogram I try to wrap it in an "interface package", and use a renaming. A simplified example is, with Unix_File_System; package File_System renames Unix_File_System; Then I can use subprograms from File_System without knowing what the actual file system is. However, I have to make sure, before translation of the program, that the unit file_system renames the correct file system package before I start the compiler.