AGREE.
________________________________
From: owner-systemc-p1666-technical@eda.org [mailto:owner-systemc-p1666-technical@eda.org] On Behalf Of john.aynsley@doulos.com
Sent: Thursday, March 25, 2010 2:26 PM
To: systemc-p1666-technical@eda.org
Subject: Macros and semicolons
Just trying to clear up a few odds-and-ends...
The LRM does not make it clear whether or not a trailing semicolon is required or permitted after the invocation of macros SC_METHOD, SC_THREAD, SC_HAS_PROCESS etc, although a trailing semicolon is shown in every example, and I think it has become standard practice in the SystemC community to include the semicolon.
The LRM does say that the definition of each of the macros is implementation-defined, which would make it implementation-specific whether the trailing semicolon is actually necessary.
I propose we mandate the inclusion of the trailing semicolon.
AGREE? DISAGREE? COMMENTS?
Thanks,
John A
-- This message has been scanned for viruses and dangerous content by MailScanner<http://www.mailscanner.info/>, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Mar 25 02:10:15 2010
This archive was generated by hypermail 2.1.8 : Thu Mar 25 2010 - 02:10:16 PDT