comp.lang.ada
 help / color / mirror / Atom feed
From: Chris Moore <zmower@ntlworld.com>
Subject: Re: Exclude parts of a package
Date: Fri, 06 Dec 2013 07:51:35 +0000
Date: 2013-12-06T07:51:35+00:00	[thread overview]
Message-ID: <2mfou.261$2v7.140@fx09.am4> (raw)
In-Reply-To: <52a0de7e$0$23162$2c885b36@post.eweka.nl>

On 05/12/2013 20:13, Felix Krause wrote:

> One approach might be to implement all functions that are not part of
> OpenCL 1.0 with "separate", place the implementation files in subfolders
> "1.1", "1.2"… and provide an implementation for older versions which
> raises an exception at runtime. But I'm not satisfacted with that
> approach because the error is already discoverable with knowledge
> available at compile-time.
>
> Is there any better way to do it?
>
Have two different spec files in those subfolders.


  parent reply	other threads:[~2013-12-06  7:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-05 20:13 Exclude parts of a package Felix Krause
2013-12-06  1:58 ` gautier_niouzes
2013-12-06  7:51 ` Chris Moore [this message]
2013-12-06  8:04 ` playerdark
2013-12-06 11:14 ` Brian Drummond
2013-12-06 11:14 ` Brian Drummond
2013-12-06 11:41 ` Brian Drummond
2013-12-06 20:48   ` Felix Krause
2013-12-06 21:27     ` Shark8
2013-12-07  8:41       ` Felix Krause
2013-12-07 11:55         ` Brian Drummond
2013-12-08 20:00 ` Stephen Leake
2013-12-12 14:30   ` Marius Amado-Alves
2013-12-13 13:16     ` Felix Krause
2013-12-13 16:17     ` Stephen Leake
2014-01-02 15:06       ` Marius Amado-Alves
2014-01-02 15:07       ` Marius Amado-Alves
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox