Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.

Public Report
Report From: Kylix/Compiler/C++/Front-end/Preprocessor    [ Add a report in this area ]  
Report #:  92138   Status: Closed
(Pulled) This error in pre-processor syntax gets an assertion failure:

#if pp = new
Project:  Kylix Build #:  5.6
Version:    1.0 Submitted By:   QC<->Raid Replicator Account
Report Type:  Crash / Data loss / Total failure Date Reported:  8/28/2000 12:00:00 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    RedHat Linux Internal Tracking #:   90806
Resolution: Fixed (Resolution Comments) Resolved in Build: : 5.6
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
This error in pre-processor syntax gets an assertion failure:

#if pp = new
Steps to Reproduce:
bcc -c 90806.cpp
//res:
Error E2303 ./90806.cpp 1: Type name expected
Assertion failed ./90806.cpp(1) : newSym at ../../../bcc/indep/cppexpr.c(5767)

//exp: (from VC++)
90806.cpp(1) : warning C4067: unexpected tokens following preprocessor directive
- expected a newline
Workarounds
None
Attachment
N
Comments

None

Server Response from: ETNACODE01