Macros and semicolons

From: <john.aynsley@doulos.com>
Date: Thu Mar 25 2010 - 01:55:35 PDT

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, and is
believed to be clean.
Received on Thu Mar 25 01:55:58 2010

This archive was generated by hypermail 2.1.8 : Thu Mar 25 2010 - 01:56:02 PDT