[sv-ec] FW: ERR 16, ERR 17 discussion/clarification


Subject: [sv-ec] FW: ERR 16, ERR 17 discussion/clarification
From: David W. Smith (david.smith@synopsys.com)
Date: Mon Sep 29 2003 - 11:02:33 PDT


 
 
 
David W. Smith
Synopsys Scientist

Synopsys, Inc.
Synopsys Technology Park
2025 NW Cornelius Pass Road
Hillsboro, OR 97124

Voice: 503.547.6467
Main: 503.547.6000
FAX: 503.547.6906
Email: david.smith@synopsys.com
 <http://www.synopsys.com/> http://www.synopsys.com

-----Original Message-----
From: Mehdi Mohtashemi [mailto:mehdi@Synopsys.COM]
Sent: Monday, September 29, 2003 10:59 AM
To: David W. Smith
Subject: RE: ERR 16, ERR 17 discussion/clarification

Hi David,
 Here is discussion on ERR-16 and ERR-17.
Regards,
- Mehdi

  _____

for ERR-16

 There is a contradiction, clarification is stated further in the
 fourth and fifth paragraphs of section 5.4.
 LRM Changes recommended: change the sentece to
  page 51 (final.pdf section 5.4), second paragraph:
  FROM:
  A variable can be declared with an initializer, which must be a constant
expression.
   int i = 0;
 TO:
  A variable can be declared with an initializer, for example:
   int i = 0;
 
for ERR-17
  [page 52 (final.pdf section 5.5) fourth paragraph
  The statement "If an initializer is used, the keyword static must be
specified
  to make the code clearer." is not needed in the LRM.

  LRM changes recommended: Remove the sentence from the fourth paragraph,
changes to:

  Data declared in a static task, function block defaults to a static
  lifetime and a local scope.



This archive was generated by hypermail 2b28 : Mon Sep 29 2003 - 11:04:34 PDT