RE: Version number macros

From: Jerome CORNET <jerome.cornet@st.com>
Date: Tue Oct 05 2010 - 01:39:11 PDT

-----Original Message-----
From: owner-systemc-p1666-technical@eda.org [mailto:owner-systemc-p1666-technical@eda.org] On Behalf Of Philipp A. Hartmann
Sent: Monday, October 04, 2010 9:03 PM
To: john.aynsley@doulos.com
Cc: systemc-p1666-technical@eda.org
Subject: Re: Version number macros

>> IIUIC, that's exactly the motivation for having a compile-time symbol
>> for detecting the available structure. e.g. in cases of something like

>> #if defined(SYSTEMC_IEEE_VERSION) && (SYSTEMC_IEEE_VERSION+0 >= 201001L)
>> // cleanup for process control extensions
>> catch ( sc_unwind_exception const & ) {
>> // ...
>> }
>>#endif

>> Makes sense?

Absolutely :-)

Jerome

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Oct 5 02:03:57 2010

This archive was generated by hypermail 2.1.8 : Tue Oct 05 2010 - 02:04:03 PDT