[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  Schedule::Load
  SVN::S4
  Synopsys-modes
  SystemPerl
  Verilog-Pli
  Voneline
  Vregs
General Info
  Papers

Issue #122

Compile error with gcc at "assert"

Added by Marek Rouchal over 8 years ago. Updated over 7 years ago.

Status:Closed Start date:08/19/2003
Priority:Normal Due date:
Assignee:Wilson Snyder % Done:

0%

Category:-
Target version:-

Description

This bug was cloned from Perl-RT, rt03285.

Email addresses have have been truncated.

Id:     3285
Status:     resolved
Left:     0 min
Queue:     Verilog-Perl
Owner:     WSNYDER <wsnyder [...] wsnyder.org>
Requestors:     marek.rouchal [...] infineon.com

Severity:     Important
Broken in:     2.225
Tue Aug 19 02:55:04 2003 MAREKR - Ticket created
Subject:     Compile error with gcc at "assert" 

I get this error when building against Perl 5.8.0 with gcc-3.3:

VPreproc.cpp: In member function `void VPreprocImp::parsingOn()':
VPreproc.cpp:94: error: `assert' undeclared (first use this function)
VPreproc.cpp:94: error: (Each undeclared identifier is reported only once for each function it appears in.)

The offending line is:

./Preproc/src/VPreproc.cpp: void parsingOn() { m_off--; assert(m_off>=0); if (!m_off) addLineComment(0); }

Let me know if you need any additional information.

Cheers,

Marek

Thu Jan 27 11:21:54 2005 WSNYDER - Status changed from 'new' to 'resolved'

Thu Jan 27 11:21:54 2005 WSNYDER - Given to WSNYDER

Also available in: Atom